The Defines Object

The Defines object is a property of the parent Model object. The defines object can only be used if there are conditional directives that are not declared (using #define) in the MPL model but are used in the model section. If a define is added parts of the model that are specific to the conditional define statement will be parsed.

Objects contained by the Defines Object

This (Index)

Returns the specified define name from the Defines[] collection. (Object Property)

Properties for the Defines Object

Count

The number of define names in the Defines collection. (Integer Property - Read Only)

Methods for the Defines Object

Add (Declaration)

Adds a new name to the Defines collection, returns the DataString object. (String Property - Read/Write Only)

Locate (Name)

Locates a specific define name, returns the define number. (Method)

GetStr (Declaration)

Returns all the define names joined together with ';' as the delimiter. (String Property - Read/Write Only)


Back To Top | Maximal Home Page | Table of Contents | Previous Page | Next Page