Ah, so I an do it the way I want by first declaring the room as a variable type 'chair'
I guess its abit easyer for readbility to keep the .chair in there all the time, so you can remember its a type.
So if I use a function and return whole type entry, how do I then access the fields in that returned entry?
Type chair Field Name$ Field Height End Type Global room.chair room = New chair room\Name = "Nice Chair" room = New chair room\Name = "Bad Chair" For room = Each chair Print room\Name Next WaitKey()
I guess its abit easyer for readbility to keep the .chair in there all the time, so you can remember its a type.
So if I use a function and return whole type entry, how do I then access the fields in that returned entry?