Data Types

ID #1014

Is it possible to create number arrays dynamically via NEW?

Directly no. But it is possilbe to allocate memory block:
array        &BYTE
buffer_array &STRING
CODE
buffer_array &= STRING(100 * (SIZE of array element))
array[i] &= (ADDRESS(buffer_array) + (i - 1) * size(array[i])

Tags: NEW, dynamic arrays

Related entries:

Last update: 2007-07-13 17:02
Author: Aleksey Timkov
Revision: 1.0

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 4 out of 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You can comment on this entry