Are there any other ways to create a new script in the JMP table?I think it will have /*...*/ The content of cannot be written
For example, the script is like this
Include("C:\gr.jsl");
/*
dz=Open("C:\gr.jsl",Charset("gb2312"),Add to Recent Files(0));
*/
I use
dt=Open("$SAMPLE_DATA/Big Class.jmp");
Eval(Parse("dt<<NEW script=""></NEW>Automation and ScriptingRe: Are there any other ways to create a new script in the JMP table?Which script are you trying to create? Do you wish to keep the comments? How to automatically write code containing /**/ to JSL? ?
Re: Are there any other ways to create a new script in the JMP table?no word

Re: Are there any other ways to create a new script in the JMP table?I'm still not sure what you are trying to achieve here
Re: Are there any other ways to create a new script in the JMP table?I need to directly generate the content of such a script in the table using a script.
Thanks Experts!

Re: Are there any other ways to create a new script in the JMP table?Names Default To Here(1);
dt = open("$SAMPLE_DATA/Big Class.jmp");
dt << New Script("A",
JSL Quote(Include("C:\gr.jsl");
/*
dz=Open("C:\gr.jsl",Charset("gb2312"),Add to Recent Files(0));
*/),
As String(1)
);

Re: Are there any other ways to create a new script in the JMP table?Hi @jthi , do you remember where you found the as string (1) option.
super helpful! should be added to the scripting index - or made easier to finde if it is already there ...
Re: Are there any other ways to create a new script in the JMP table?From script JMP creates when you use "Copy Table Script"