Array in a type?
Blitz3D Forums/Blitz3D Beginners Area/Array in a type?
| ||
Ok, unless I'm totally wrong, I've discovered you can't stick an array in a type:- Type willywonka field dim jamflans(6,7) dim moobrains(4,5) end type Or can I? :) |
| ||
You can if you use a BlitzArray[] But they can only be 1 dimensional :( |
| ||
How do I 'BlitzArray[]' ? |
| ||
Just use square brackets instead of normal brackets and miss out the Dim command (from memory): Field jamflans[6] |
| ||
Doh I was trying Dim jamflans[6]. Thanks for the help mate :) |