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.
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.