Arrays act like pointers. You can assign a multi dimensional array into one dimensional array. Example
var a[0] var b[2,2] b[1,1]=55 a=b ? a[1,1] // show 55Also, the memory that they use remain until the last reference is lost.
var a[1000000] var b[0] var c[0] ? FREEMEM //327124 a=b ? FREEMEM //327124 b=c ? FREEMEM //327124 a=c ? FREEMEM //8327164Finally, you can allocate an array using function.
DEF malloc%(size) VAR A%[size] return A% END VAR ARR%[0] ARR%=malloc%(5)The only thing we can't do is assign a numeric array with a string array. That will trigger the Type mismatch error.