Multidimensional Anonymous Arrays (Language Help)

by Jim ⌂ @, Russell, KY, Monday, February 27, 2012, 16:41 (1947 days ago) @ Steve K

You can initialize a two dimensional array using the curly braces as if it were a single dimension array. The columns are filled across the rows as you can see here.

dim a(3,4)
a = {1,2,3,4,5,6,7,8,9,10,11,12}
for r = 0 to 2
for c = 0 to 3
print a[r,c]+" ";
next c
print
next r


Complete thread:

 RSS Feed of thread

powered by my little forum