21-04-2009, 02:51 AM
Yeah...they're fun. Example:
>
clsPlayer:
<
Then to use that just do this:
>
Wherever:
>
clsPlayer:
Code:
Private Player As PlayerRec
Type PlayerRec
Name As String
End type
Private Property Let Name(ByVal SetValue As String)
Player.Name = Trim$(SetValue)
End Sub
<
Then to use that just do this:
>
Wherever:
Code:
Public CPlayer As clsPlayer
CPlayer.Name = "Hey"