Initializing a Custom Type Array

BlitzMax Forums/BlitzMax Beginners Area/Initializing a Custom Type Array

... I would do the following :
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.