Is it possible to derive a variable name from a string? For example, you read the string "English", and you then create a variable (array) named "English". Is there anyway to do this?
Printable View
Is it possible to derive a variable name from a string? For example, you read the string "English", and you then create a variable (array) named "English". Is there anyway to do this?
Are my threads really that boring?!? :confused:
cant do dat!
closest you can get to that is specific checking for strings
If thestring = "elephant" Then
Dim elephant
End if
and of course that would be dumb..it really doesnt matter anyway as you have to realize that when your app is compiled..all that stuff is just 1's and 0's. So why would it be importatn to dynamically create a vrailbe from a string during runtime with the name of the string? No reason to do this at all.