Inno Setup Preprocessor: #dim

Inno Setup Preprocessor

Inno Setup Preprocessor: #dim

Syntax

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

Description

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.

Examples

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

See also

define, undef, Visibility of Identifiers.