S
Shelby
Hi,
how do I set the Type of a variable?
For example:
Dim myhash as hastable
' I want to set the Type in myhash as String or Integer or even my own
custom Structure.
Public Structure ContactUser
Public firstname as string
Public middlename as string
......
End Structure
Dim tmpuser as new ContactUser
tmpuser.firstname = "John"
tmpuser.middlename = "D"
myhash.add (1,tmpuser)
how do I set the Type of a variable?
For example:
Dim myhash as hastable
' I want to set the Type in myhash as String or Integer or even my own
custom Structure.
Public Structure ContactUser
Public firstname as string
Public middlename as string
......
End Structure
Dim tmpuser as new ContactUser
tmpuser.firstname = "John"
tmpuser.middlename = "D"
myhash.add (1,tmpuser)