I recently upgraded to JMP 12 and my JMP 10.0.2 scripts get the error: Send Expects Scriptable Object in access or evaluation of 'Send' , dt << /*###*/save(. How do I fix this?<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />I recently upgraded to JMP 12 and my JMP 10.0.2 scripts get the error: Send Expects Scriptable Object in access or evaluation of 'Send' , dt << /*###*/save(. How do I fix this? Specific section of the script is:
"W:\OPS\Process Engineers\Metrics\JMP Scripts\JMP Scripts-Chambers\Build and Reclaim\131037 Build Data Split.jmp"
Re: I recently upgraded to JMP 12 and my JMP 10.0.2 scripts get the error: Send Expects Scriptable OThread branched to new discussion.Re: I recently upgraded to JMP 12 and my JMP 10.0.2 scripts get the error: Send Expects Scriptable Object in access or evaluation of 'Send' , dt << /*###*/save(. How do I fix this?Looks like the right answer to me.
Previously <
PMroz suggestion to use two steps will make dt hold the data table, then change the name and ignore the returned value. Without doing that, dt winds up holding the character string name of the data table. Character strings and numbers are not scriptable objects that take messages, but data tables are.
Sorry for the inconvenience - Craige
Re: I recently upgraded to JMP 12 and my JMP 10.0.2 scripts get the error: Send Expects Scriptable Object in access or evaluation of 'Send' , dt << /*###*/save(. How do I fix this?Try separating the assignment of dt and set name:
dt = Current Data Table();
dt << set name( "131037 Build Data Split" );
dt << save(
"W:\OPS\Process Engineers\Metrics\JMP Scripts\JMP Scripts-Chambers\Build and Reclaim\131037 Build Data Split.jmp"
);
Re: I recently upgraded to JMP 12 and my JMP 10.0.2 scripts get the error: Send Expects Scriptable Object in access or evaluation of 'Send' , dt << /*###*/save(. How do I fix this?can you add the line:
show(dt);
after your line:
dt = Current Data table() << ..........
My guess is that you do not have a data table open, or the data table that JMP thinks is the current data table has been closed.
Re: I recently upgraded to JMP 12 and my JMP 10.0.2 scripts get the error: Send Expects Scriptable Object in access or evaluation of 'Send' , dt << /*###*/save(. How do I fix this?
dt = Current Data Table() << set name( "131037 Build Data Split" );
dt << /*###*/save(
"W:\OPS\Process Engineers\Metrics\JMP Scripts\JMP Scripts-Chambers\Build and Reclaim\131037 Build Data Split.jmp"
) /*###*/;