LotusScript Type Statement - How to Reinitialize the Object

Hello,

I am using the Type Declaration in LotusScript

e.g.

Type phoneRec
name As String
areaCode As Integer
phone As String

End Type

Dim x as PhoneRec

x.name = “Rami”

If I have an variable and set the parameters, is there a LScript command available to clear out what is stored or do I have to perform a clear of everything within each time (see below)?

x.name =“”

x.areaCode =“”

x.phone = “”

Thanks,

Rami Jundi

Subject: LotusScript Type Statement - How to Reinitialize the Object

The Dim statment is the only time the member variables are going to be initialized en masse. You’ll have to reset each individually or invest the extra minute to turn it into a class and write yourself a “reset” method. :slight_smile: