janus85_ren
Member
- Joined
- May 9, 2010
- Messages
- 24
- Programming Experience
- 1-3
I want to make a structure within a structure. Basically it will appear like this:
Structure ID
dim CardType as string
dim CardCode as string
dim ExpireDate as Datetime
End Structure
Structure Citizen
dim Name as string
dim Ethnic as string
dim Occupation as string
dim Identity as ID
End Structure
So every Citizen can have several IDs like passport, Social security card, driver's license and registrations, visas, etc. I want to have the instance of the Citizen as array and ID as an arraylist. So basically I'll have an array of citizens that contains an arraylist of ID. I want ID as an arraylist so that I can use the method .remove. Any help? thanks
Structure ID
dim CardType as string
dim CardCode as string
dim ExpireDate as Datetime
End Structure
Structure Citizen
dim Name as string
dim Ethnic as string
dim Occupation as string
dim Identity as ID
End Structure
So every Citizen can have several IDs like passport, Social security card, driver's license and registrations, visas, etc. I want to have the instance of the Citizen as array and ID as an arraylist. So basically I'll have an array of citizens that contains an arraylist of ID. I want ID as an arraylist so that I can use the method .remove. Any help? thanks