Declare fields/ instance variables with optional initial values
[Attributes] [Modifiers] [INSTANCE] [DIM] <idVar>[ [ <dimensions> ] ] [:= <uValue>] [, ...] [AS <idType>] [, ...]]
Attributes | An optional list of one or more attributes that describe meta information for am entity, such as for example the [TestMethod] attribute on a method/function containing tests in a MsTest class library. Please note that Attributes must be on the same line or suffixed with a semi colon when they are written on the line above that keyword. |
Modifiers | An optional list of modifiers that specify the visibility or scope of the entity, such as PUBLIC, PROTECTED, HIDDEN, INTERNAL, SEALED, ABSTRACT or STATIC. |
DIM | An optional keyword that specifies that you want to create a variable of a (.Net) array type |
INSTANCE | An optional keyword that you have to use when no modifiers are used. Without modifier the fields will become PUBLIC |
<idVar> | A valid identifier name for the field to declare. |
[<dimensions>] | The initial dimensions for a variable of type array. This may be used with the DIM keyword, in which case it is a .Net array, or without the DIM keyword in which case it is a VO compatible dynamic array. |
<uValue> | The initial value to assign to the variable. |
AS <idType> | Specifies the data type. If omitted, then depending on the compiler options the type will be either USUAL or determined by the compiler. |