Local variable declaration

[ DIM ] Identifier AS Datatype

Declare a local variable in a procedure or function. This variable is only accessible to the procedure or function where it is declared.

Example :

DIM Val AS INTEGER

DIM Name AS STRING

DIM Matrix[3, 3] AS FLOAT

DIM AnObject AS OBJECT

...


Referenced by :