Structured variables
Variables can be declared with a composite data type, based on simple data types.
To declare a structured variable, use the RECORD
or DYNAMIMC
ARRAY
keywords.
For
example:
MAIN
DEFINE myrec RECORD
id INTEGER,
name VARCHAR(100)
END RECORD
DEFINE myarr DYNAMIC ARRAY OF RECORD
id INTEGER,
name VARCHAR(100)
END RECORD
LET myarr[2].id = 52
END MAIN