General Principles of Programming using Ms Assembly

The Ms assembly is used for modeling. Programming in the Fore language using this assembly consists in creating and setting up modeling container objects designed to solve problems of mathematical modeling of dynamic systems.

The following objects are used for modeling:

Working with these objects is made in the modeling container environment via the IMsModelSpace interface.

Modeling is executed in accordance with the scheme:

Below is the example of the sequential modeling of balance of trade. Balance of trade is the difference between export and import, that is why the modeling is quite simple:

First of all, a modeling container is required. Modeling container creation is described in the Creating a Modeling Container example. Create a custom modeling container with the MODEL_SPACE identifier. Then follow the steps:

See also:

Ms Assembly Classes | Ms Assembly Interfaces | Ms Assembly Enumerations | Examples | Ms Assembly Hierarchy