can you declare an array with starting values?
BlitzMax Forums/BlitzMax Beginners Area/can you declare an array with starting values?
| ||
Hi, can you declare an array and assign it starting values all on one line? This would be useful for declaring a constant(or variable) array of fixed size and filling each of those slots with an initial value... |
| ||
Aye...Local myArray[] = [10, 20, 30, 40] |
| ||
lovely juvely, thanks. |