How to clear a structure (value) ?

mozaharul

Active Member
Licensed User
Hi,
As an example, say a structure is used to store information of two individual's ID,Name,Sex.


Structure declared :

Sub Globals
Dim Type(ID, Name ,Sex) person(1)
End Sub

the values are like :

person(0).ID = 222
person(0).Name = "John"
person(0).Sex = M

person(1).ID = 333
person(1).Name = "Tracey"
person(1).Sex = F

How to clear the structure (values), so that new information could be stored say for two individuals of another House?


regards,
 
Top