' Declare an array of array Local q:Int[][] ' Size array 1 of one element q=q[..1] ' size array 2 of one element q[0]=q[0][..1] ' Init element [0][0] q[0][0]=1 ' Print element [0][0] = result 1 Print q[0][0] ' Now we resize array 1 to 2 elements q=q[..2] ' But we need also to resize array 2 of element 2 of array 1 to 1 element, humphhh..... :) q[1]=q[1][..1] ' Init element [1][0] q[1][0]=10 ' Print element [0][0] and [1][0] Print q[0][0] ' Result 1 Print q[1][0] ' Result 10
Making Max more beginner-friendly
BlitzMax Forums/BlitzMax Beginners Area/Making Max more beginner-friendlyThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.