03-17-2006, 06:33 PM
why create(0 0) ?
Can be
ARRAY(str) e.create(3 4)
or
ARRAY(str) e.create(3 3)
...
e[y 0]=d
...
or
ARRAY(str) e.createlb(3 0 3 1)
or, if number of elements in right dimension initially is unknown
ARRAY(str) e.create(3 0)
...
e.redim(y+1) ;;resize right dimension
e[0 y]=d
...
Can be
ARRAY(str) e.create(3 4)
or
ARRAY(str) e.create(3 3)
...
e[y 0]=d
...
or
ARRAY(str) e.createlb(3 0 3 1)
or, if number of elements in right dimension initially is unknown
ARRAY(str) e.create(3 0)
...
e.redim(y+1) ;;resize right dimension
e[0 y]=d
...