Type Field to a pointer.type?

Blitz3D Forums/Blitz3D Beginners Area/Type Field to a pointer.type?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Type player
Field x#, y#, etc#
Field a.player
End Type

p.player = New player
p\a = New player

You now have two players, one referenced by the variable name "p" and the other referenced by player p's "a" field.

I have no idea what you're trying to do in your first two snippets, but whatever it is, it won't work.