Sign in to follow this  
Followers 0
Chris_1013

Dim using variable as name?

2 posts in this topic

Is there any way I can create a variable, using a variable as it's name? For example... could I do something like this.

$myvar = "monkey"

Dim ;somehow using $myvar would create a $monkey variable

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

No, you can't do that. What are you trying to accomplish? Chances are good there's a way to do what you want without needing to define a variable held as a string in the contents of another variable.

Typo corrected

Edited by pekster

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0