Variables
Define.<type> [<variable> [= <expression>]][, ...] |
Defines one or more variables of Type type and optionally initializes them |
Define <variable >.<type > [= <expression >]][, ...] |
Alternate form of Define |
Dim name.<type>(<expression>, ...) |
Creates new arrays |
ReDim name.<type>(<expression>, ...) |
Resize an existing array. Will only affect the last dimension of a multidimensional array |
Enumeration [name] [<constant > [Step <constant >]] |
Creates a new enumeration named name |
EnumerationBinary [name] [<constant >] |
Creates a new binary enumeration named name. Binary enumerations can be used for flags. |
EndEnumeration |
Ends the Enumeration definition |
Global[.<type>] <variable[.<type>]> [= <expression>][, ...] |
Defines the scope of the variables to be global rather than local |
NewList name.<type >() |
Creates a new, dynamic List of Type <type>. |
NewMap name.<type>([Slots]) |
Create a new Map (Hash, Dictionary). The keys are always of type String, the values will be of Type <type>. If Slots is not specified, will be dynamically allocated as needed. |
Protected[.<type>] <variable[.<type>]> [= <expression>][, ...] |
Allows a variable to be accessed only in a Procedure even if the same variable has been declared as Global in the main program |
Shared <variable>[, ...] |
Allows a variable, an array, a list or a map to be accessed within a procedure |
Static[.<type>] <variable[.<type>]> [= <constant expression>][, ...] |
Allows creating a local persistent variable in a Procedure even if the same variable has been declared as Global in the main program |
Structure <name> |
Begins a Structure definition |
Structure <name> Extends <struct_name> |
Begins a Structure definition that add to an existing Structure |
Structure <name> Align <n> |
Begins a Structure definition where every element is aligned to an <n>-byte boundary. Align can be used with Extends also. |
EndStructure |
Ends a Structure definition block |
StructureUnion |
Begins a StructureUnion definition block |
EndStructureUnion |
Ends a StructureUnion definition block |
Threaded[.<type>] <variable[.<type>]> [= <constant expression>][, ...] |
Allows creating a thread persistent variable |
Starting a variable with # makes it a constant, e.g. #Pi=3.14
Comments
Related