This command will fill an array from the specified memblock
Syntax |
MAKE ARRAY FROM MEMBLOCK Array Name(0), Memblock Number
Parameters |
Array Name(0
Integer
The name of the array Memblock Number
Integer
The memblock number
Returns |
This command does not return a value.
Example Code |
dim mydata(10) for t=0 to 10 a=rnd(255) print a; mydata(t)=a next t print make memblock from array 1,mydata(0) WRITE MEMBLOCK BYTE 1,0,255 make array from memblock mydata(0),1 for t=0 to 10 print mydata(t); next t do loop end