Topic complex |
Array functions |
Function |
initarray() |
Short |
Dynamic field dimensioning |
Syntax |
INITARRAY(newdim) : INTEGER |
Parameter |
newdim has the form:
array_var[d_1,d_2,...] |
Return |
|
See also: |
|
Description |
With this function fields can be re-dimensioned while runtime.
This allows dynamic dimensioning of fields variables in EASY.
|
Example 1: InitArray + High
VAR vektor : REAL[]
...
High(1,vektor) // = 0
InitArray(vektor[10000]
High(1,vektor) // = 10000
|
Write a comment:
|