Eval
From AutoIt Wiki
Evaluates a string statement. Adapted from AutoIt docs.
Contents |
[edit] Syntax
Eval(string)
[edit] Parameters
| string | String representation of a statement. |
[edit] Return Value
Success: Returns the value of the variable.
Failure: Returns empty string and sets @error to 1
[edit] Example
Dim $a_b = 12
$s = Eval("a" & "_" & "b") ; $s is set to 12
$s =Eval("c") ; $s = "" and @error = 1
