How to automatically write code containing /**/ to JSL?For example, I use the following JSL to automatically generate a table script file in a data table.
But how to write the code containing /**/ into the script file of this table?
Thanks!
dt=Open("$SAMPLE_DATA/Big Class.jmp");
Eval(Parse("dt<<NEW script=""></NEW>
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Eval(
Parse(
"dt<<NEW script=""></NEW>
Basic Data Analysis and ModelingWindowsRe: How to automatically write code containing /**/ to JSL?Achieve the effect

Re: How to automatically write code containing /**/ to JSL?I'm not sure if this is directly possible, but you can use workaround combining Eval(Parse(JSL Quote)))
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << New Script("Test",
Eval(Parse(JSL Quote(
/*
Current Data Table() << Sort By(:height);
*/
show(1);
)));
);
How to keep formatting and comments with New Script () ?
Preserve comments and whitespace in JSL code attached to data table
Re: How to automatically write code containing /**/ to JSL?Thanks!
Looks like it has to be this way
