Return the value of the variable whose name is given by the expression.
Eval ( expression )
Parameters
expression | string representing name of the variable to be evaluated. |
Return Value
Success: | Returns the value of the variable. |
Failure: | Returns null string with @error set to 1. |
Remarks
None.
Related
IsDeclared, Assign
Example
Dim $a_b = 12
$s = Eval("a" & "_" & "b") ; $s is set to 12
$s =Eval("c") ; $s = "" and @error = 1