I'm not familiar with the tutorial, but your problem is probably coming from a UDT (User Defined Type)
You'll want to find something similar to:
//This is a UDT
Type ObjData
ID as integer
x# as float
y# as float
EndType
//Below is declaring a variable (Ball) as a data type of your UDT
//It's the same as declaring
//Ball as integer
//Ball as boolean
//But instead of making it an integer or a bollean
//You'll just be defining it as the data type you created. An UDT
Ball as ObjData
When you set
Ball as ObjData, you'll be able to change the following (according to the UDT I defined in the above code:
Ball.ID = 10
Ball.x# = 12.4
Ball.y# = 12.55
You could even put a UDT inside a UDT
Something like so:
type vector2Type
x# as float
y# as float
endtype
type ObjData
ID as integer
pos as vector2Type
endtype
Ball as ObjData
Ball.ID = 1
Ball.pos.x# = 23.2
Ball.pos.y# = 40.0
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.