I naively first tried:

Set(T1=1)

Set(T2=2)

…

While(basedon${COUNT})

Set(NEWVAR=${T${COUNT}})

which fails.

Reading finally I found EVAL() but all experiments have failed to reveal the workings.

I’ve tried:

[global]

SS=$

[context1]

Set(X=“Value of X”)

Set(Y=${SS}X)

Set(Z=EVAL(${Y})

Set(ZZ=${EVAL(${Y})})

Log(DEBUG| X:${X} Y:${Y} Z:${Z} ZZ:${ZZ})

and get:

X:Value of X Y:$X Z:EVAL($X) ZZ:$X

Wait: did I just answer my own question?

Variable ZZ contains the contents of variable Y…

In any case, it would help many to see real, working examples of EVAL() in a production system.

## Thanks!

GR