do you mean arrays?
something like this:
Arrays in BlitzMax are very versatile. (sometimes even moreso than lists) An Array can hold a number (i.e an int, a float, Double, etc) or can hold a String ( "foo" )
you can resize them on the fly by using slices:
something like this:
Local pencil_Boxes:Int[10] pencil_boxes[0] = 4 ' this box has 4 pencils pencil_boxes[1] = 6 ' and this box has 6 pencils Print pencil_boxes[0] Print pencil_boxes[1]
Arrays in BlitzMax are very versatile. (sometimes even moreso than lists) An Array can hold a number (i.e an int, a float, Double, etc) or can hold a String ( "foo" )
you can resize them on the fly by using slices:
Local foo:String[] foo = foo[..2] ' a slice foo[0] = "Hello" foo[1]= "GoodBye" Print "foo has " +Len(foo)+ " Elements" Print foo[0] Print foo[1]