The log indicates that you have a missing ")"
Unexpected end of input. Perhaps there is a missing "," or ")".
Trying to parse arguments of function "new script".
Line 2 Column 59: ...nding ), replace table );āŗ...
You have dropped the training ")" for the New Script statement.
Your code
Eval(
Parse(
"d3<<new script(\!"test\!",d3 = Current Data Table();
d3 << Sort( By( 6 ), Order( Descending ), replace table );"
)
);
Correct code
Eval(
Parse(
"d3<<new script(\!"test\!",d3 = Current Data Table();
d3 << Sort( By( 6 ), Order( Descending ), replace table ));"
)
);
Jim