Inno Setup Preprocessor: #dim

Inno Setup Preprocessor

Inno Setup Preprocessor: #dim


dim-directive: dim [private | protected | public] <ident> [ <expr> ]


Declares an array variable and sets its dimension. All elements of the array are initialized to null (void). To assign an element value after declaring the array, use define. Instead of assigning element values with define, it is also possible to set an element value by using it as the left operand of an assignment.


#dim MyArray[10]
#define MyArray[0] 15

See also

define, undef, Visibility of Identifiers.