Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Good scripting languages..
#13
Yeah...they're fun. Example:

>

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"

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)