Hi. This is bugging me. Please Help! :) Why can't I do this? I want to be able to put items into the array 'points' - without having to do a 'pl[1]=New pt' previous to every entry. I have used this syntax with other types (in Box2D) and it works ok. Must be doing something simple wrong. Thanks.
If I use the above syntax, I get a null object error.
Global pl:pt[]=New pt[10] Type pt Field x:Int,y:Int End Type pl:pt[1].x=7 End
If I use the above syntax, I get a null object error.