Jump to content

Var Value directly to new var


Recommended Posts

Hello,

i am looking for a way to use the value from a variable as another variable, example

$Var = 123

;use 123 as a new var

$123 = "newstring"               

;(new string is derived mathimatically from 123 so i need 123 as an identifier)

now, i cannot use for example select case $Var = 123 $123 = "newstring" because the value from $Var can be random plus im looking for an easier way than using select because there might be alot of values to assign to new vars.

i wish of a, for example $$Var creates on execution $123 instead.

maybe there is an easy way of doing this that i don't know of or maybe this is not doable...

thanks

Edited by CrypticKiwi
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...