Author Topic: Need help in Visual Basic 2010.  (Read 339 times)

How do you declare a variable with its name being the value inside another different variable in Visual Basic?
I tried this so far....
Dim (VariableName) As Integer = VariableValue
But it says "Identifier expected." as an error

variable with its name being the value inside another different variable
So you want a variable,
whoose NAME
is the value of a different variable.

Not possible without dynamic arrays like torque has (torque has the ability to make string arrays, like %blah["ASDF"]), I don't think visual basic has that.

So you want a variable,
whoose NAME
is the value of a different variable.

Not possible without dynamic arrays like torque has (torque has the ability to make string arrays, like %blah["ASDF"]), I don't think visual basic has that.
There has to be a way to do that in visual basic.
As a matter of fact I think visual basic has dynamic arrays.

I read the title as "need help in visual bisjac"