/MEng/BaseInfo

ClassPath:MEng.
Parent ClassPath:MEng.Object
Copyable:No
Final:Yes

MEng.BaseInfo is a class into which some literals and enumerations can be put that don't really belong in a particular class, or which are used by a number of classes so they need to be in a common class.

 

Nested Classes:

Enum=FQTypes
    Partial   : "Partial";
    Full      : "Full";
    DontCare  : "DontCare";
EndEnum;

This enumerated type is used in places where a path or URL or other value is used that can be fully or partially qualified and the distinction needs to be made.

Enum=Radices
    Bin      : "Binary";
    Octal    : "Octal";
    Dec      : "Decimal";
    Hex      : "Hexadecimal";
EndEnum;

This enumerated type is used anywhere that a radix is used in formatting out or parsing in numeric values. It indicates the radix to expect or generate.

Enum=CreateActs
    CreateIfNew      : "Create if new";
    CreateAlways     : "Always create new";
    OpenIfExists     : "Open if exists";
    OpenOrCreate     : "Open or create";
    TruncateExisting : "Truncate existing";
EndEnum;

This enumerated type is used in places where you are creating or opening something that may or may not already be there and you need to indicate how to react in either case. CreateIfNew will if the thing already exists, and will create if not. CreateAlways just blindly creates a new one, overwriting the previous. OpenIfExists will fail if it doesn't already exists, else it will open. OpenOrCreate is the most flexible and will open if found or create if not. TruncateExisting will fail if it doesn't already exist, and will open and throw away existing content if it does.

Enum=MEngErrors
    BadEPParam	: "A passed macro entry point parameter was not correct";
EndEnum;

This enumerated type provides some very low level errors that the macro engine migth need to throw but which are not specific to any particular class.

Enum=HorzJustify
    Left   : "Left Justify";
    Right  : "Right Justify";
    Center : "Center Justify"; 
EndEnum;

This enumerated type is used wherever a horizontal justification is required.

 

Constructors:

Constructor();

There is just one default constructor.

 

Final, Const Methods:

IsInDebugMode() Returns MEng.Card4;

Indicates whether the macro language engine in which the caller is running is in debug mode or not. This can be used to do debug code in a dynamic way (i.e. without a recompile.) For most debugging code though you will want to the use the language level conditional debugging system, which completely removes the code from the compiled class when not in debugging mode.