call or set variable value with variable name stored in string
Posted on 2010-09-03
I'm looking to call or set the value of a variable with the variable name stored as a string.
Dim value as String = "12345"
Dim VarName as String = "value"
Messagebox.show( someprocedure(VarName) )
' in this case i world be looking a message box containing: 12345
this examble does not reflect what i need this function for... I need to be able to loop though
multiple values and call / set there values.
Any help would be appresiated.