How can I add a script to create a data table to another data table? I have tried different combinations of Get Script, New Script, and Eval without success. I am using JMP 18.1.2.
// Example
dt_1; // Starting table 1.
dt_2; // Starting table 2.
dt_2_script = dt_2 << Get Script;
// None of these work:
dt_1 << New Script( "dt_2 Script", dt_2_script );
dt_1 << New Script( "dt_2 Script", Eval( dt_2_script ) );
dt_1 << New Script( "dt_2 Script", dt_2 << Get Script );
dt_1 << New Script( "dt_2 Script", Eval( dt_2 << Get Script ) );