Use the dim command to make an array. Type in the array's name and then in parenthesis give how much information you want it to hold. If you want the array to be multi-dimensional use a comma to seperate the dimensions. This demonstrates how to create a multi-dimensional array...
dim blah(10,20,30) as integer
print "Array Created..."
wait key
for x=1 to 10
for y=1 to 20
for z=1 to 30
blah(x,y,z)=rnd(10)
next z
next y
next z
print "Array given values"
wait 200
wait key
for x=1 to 10
for y=1 to 20
for z=1 to 30
print blah(x,y,z)
sync
next z
next y
next z
print "Values read and printed onto the screen"
wait 200
wait key
If you want an array to hold more than one type of value at each position in the array then you use the type command.
type players
health as integer
weapons as string
ammo as integer
xpos as float
ypos as float
zpos as float
endtype
print "Type created..."
wait key
`Notice that I did not name the array the same as the type.
dim plyr(2) as players
print "Array created..."
wait 200
wait key
for i=1 to 2
plyr(i).health=rnd(10)
plyr(i).weapons="No weapons"
plyr(i).ammo=0
plyr(i).xpos=rnd(100)/10.0
plyr(i).ypos=rnd(100)/10.0
plyr(i).zpos=rnd(100)/10.0
next i
print "Array values set..."
wait 200
wait key
for i=1 to 2
print "Player "+str$(i)
print "health="+str$(plyr(i).health)
print "weapons="+plyr(i).weapons
print "ammo="+str$(plyr(i).ammo)
print "x-position="+str$(plyr(i).xpos)
print "y-position="+str$(plyr(i).ypos)
print "z-position="+str$(plyr(i).zpos)
print ""
print ""
next i
print "Array values printed to the screen"
wait 200
wait key
Insanity is just a state of mind