You need New for every instance.
Also arrays in Bmax are like that of C, they include the index of 0 but end before the number you sized it with, in this case 0 to 3 which gives 4 elements.
Also arrays in Bmax are like that of C, they include the index of 0 but end before the number you sized it with, in this case 0 to 3 which gives 4 elements.
Type Tplayer Field x Field y Field x_inc Field y_inc Field frame End Type Global player:Tplayer[] =New Tplayer[4] player[0]=New Tplayer player[0].x=0 player[0].y=200 player[0].x_inc=1 player[0].y_inc=1 player[0].frame=0 player[1]=New Tplayer player[1].x=0 player[1].y=220 player[1].x_inc=2 player[1].y_inc=2 player[1].frame=32