... I would do the following :
Depending on the rest of the program I might even make the temp.playerhand assignment the return from another function/method call.
Type TPlayer Field playerHand:TCard[] Function Create() 'instantiates a player Local temp:TPlayer = New TPlayer temp.playerHand = New TCard[5] End Function End Type
Depending on the rest of the program I might even make the temp.playerhand assignment the return from another function/method call.