Need help understanding how variables are scoped in expressions
Hello all, I have a simple example script. Can somebody explain me what are the scopes for the variables here and why it works one way and not another? Here's the initial script:Names default to here(1);
Clear Globals();
x="Variable";
exprA = Expr(Write("Here is variable: "||x));
exprB = Expr(
dt1 = Open( "$SAMPLE_DATA/Big Class.jmp" );dt1 << OnClose(exprA));
exprB;
The idea is that I open table...