Declaring Arrays in superstrict mode
BlitzMax Forums/BlitzMax Beginners Area/Declaring Arrays in superstrict mode
| ||
Aargh! How can I declare an array of 5 integers and fill the array at the same time? Local xOffset:Int[5]=[ 0, 0, 0, -1, 1 ] Surely I can declare the array and fill it at the same time while in superstrict mode? I must be developing code blindness or something as I cant see whats wrong! Thanks for any help! |
| ||
dont put the 5 in there. Local xOffset:Int[]=[ 0, 0, 0, -1, 1 ] |
| ||
Dear lord, I must have tried every variation except that one. Thanks! |