I`ll give this a whirl tomorrow (off to bed now) and let you know how things go.
Thanks again (again) :)
PS. Looking at the code again, is it OK to create NEW [0,0,0] without first deleting it?
I guess it will NEW all the associated fields for that object, leaving it blank, rather than creating junk in memory?
Also:
will not work as it gives a Type conversion error from trying to cast Team[0] into the "team" field of the player object - which won`t work.
Do I need to do anything special to get it to work?
Thanks again (again) :)
PS. Looking at the code again, is it OK to create NEW [0,0,0] without first deleting it?
I guess it will NEW all the associated fields for that object, leaving it blank, rather than creating junk in memory?
Also:
;--- update parent pointers ;p\league[0]\team[0]\player[0]\team = p\league[0]\team[0]
will not work as it gives a Type conversion error from trying to cast Team[0] into the "team" field of the player object - which won`t work.
Do I need to do anything special to get it to work?