cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Convert table to script and save it other table

I have 2 table. dt(data table) and lt(Limit table). I like to convert lt table to script and save that in to dt table scripts. How can I achive that. below is the script that I came up with. 

scriptObj = lt << Get Script;

Eval( Eval Expr(
	dt << New Script("Recreate Limit Data", Expr(scriptObj));
) );
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Convert table to script and save it other table

Names Default To Here(1);

dt1 = Open("$SAMPLE_DATA/Big Class.jmp");
dt2 = Open("$SAMPLE_DATA/Big Class Families.jmp");


s = dt1 << get script;
Eval(EvalExpr(
	dt2 << New Script("Big Class", Expr(NameExpr(s)))
));
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Convert table to script and save it other table

Names Default To Here(1);

dt1 = Open("$SAMPLE_DATA/Big Class.jmp");
dt2 = Open("$SAMPLE_DATA/Big Class Families.jmp");


s = dt1 << get script;
Eval(EvalExpr(
	dt2 << New Script("Big Class", Expr(NameExpr(s)))
));
-Jarmo

Re: Convert table to script and save it other table

Thanks you so much.

Recommended Articles