Modifying and array
BlitzMax Forums/BlitzMax Beginners Area/Modifying and array
| ||
I would like to insert elements at the end of one dimension. For example, Global Array:String[][] Array = Array[..3] Array[0] 'insert new element What is the easiest way to accomplish this? |
| ||
Better to use types/tLists. You can then use tList.AddLast to add items, and ValueAtIndex to retrieve items. Same as an array, only more flexible. Won't simulate multidimensional arrays, though. |