Variable Variablename

SourceCoders

Newcomer
Joined
Sep 25, 2003
Messages
22
Location
Germany, Erfurt
Is it possible to store an identifier for a variable in another variable ?

Like this (VB.Net) :

dim a as string
a = "xxx"
dim a as string (a=xxx)

Who can help me ????

Thanks a lot.....
 
I don't think I understand what you want but if I understand correctly, you can use:
Visual Basic:
Dim a As String = "Text in variable a"
'Or
Dim b As String = "Text in variable b to be given to variable a"
Dim a AS String = b
 
Back
Top