Dimensioned Array Assignment
Posted: Wed Oct 12, 2005 10:05 am
Could somebody please post example of how to assign multiple array elements in one statement. Something similar to C array initialization list.
I can find commands for assigning all elements the same value, and building a array from file contents, but how about hard coding a static table.
ie. I want to do something like this:
DIM myArray(3,3) = {{1,2,3},{4,5,6},{7,8,9}}
Are such assignments possible in DS Basic?
Thanks in advance.
I can find commands for assigning all elements the same value, and building a array from file contents, but how about hard coding a static table.
ie. I want to do something like this:
DIM myArray(3,3) = {{1,2,3},{4,5,6},{7,8,9}}
Are such assignments possible in DS Basic?
Thanks in advance.