can you declare an array with starting values?

BlitzMax Forums/BlitzMax Beginners Area/can you declare an array with starting values?

Grey Alien(Posted 2006) [#1]
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...


Yan(Posted 2006) [#2]
Aye...
Local myArray[] = [10, 20, 30, 40]



Grey Alien(Posted 2006) [#3]
lovely juvely, thanks.