Jump to content

Recommended Posts

Posted

Here is my code

$variable="$nfic1"

($variable) = "Bonjour"

Msgbox(0,"",$nfic1)

I have a variable $nfic1

and another variable $variable with the value "$nfic1"

I want to acess to the content of $nfic1 with $variable (macrosubstitutin in vb)

Is someone know how to do ?

Posted (edited)

take a look at Eval() and Assign(). Not exactly what you want, but that's what possible with AutoIT.

Cheers

Kurt

Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

  • 5 years later...
Posted (edited)

I was looking for the same thing and eval does work as a good replacement for FoxPro-style macro substitution.

Edited by dixonpete

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
  • Recently Browsing   0 members

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