cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

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

Error "send expects scriptable object..."

HI Everyone, I'm trying a very simple script that is meant to function within a data table, in other words, I have the data table allready and have created a script within it (not sure is that's relevant but thought I'd specify...). 
I'm trying to retrieve the spec limits from column7 below and getting this error everytime:

"Send expects scriptable object in access or evaluation of 'Send', Eval Exp(":" || cols[7]) << /*###*/ Get Property ("Spec Limits") /*###*/"

The code I'm using is here:

Names Default to Here(1); //This enables any variables to remain local to the script and not interact with any
                                          //pre-defined jmp environment variables.
Delete Symbols();             //Removes the values of any global variables already defined in the jmp enviroment so that
                                         //they don't override any local variable you may define in your script.
clear log ();
cols = Data Table(1) << Get Column Names( numeric, continuous );
Q = Eval Expr(":" || cols[7]) << Get Property( "Spec limits" );
1 REPLY 1
txnelson
Super User

Re: Error "send expects scriptable object..."

Here is one way of doing what you want using the Column() function.

Names Default To Here( 1 ); //This enables any variables to remain local to the script and not interact with any
//pre-defined jmp environment variables.
Delete Symbols();             //Removes the values of any global variables already defined in the jmp enviroment so that
//they don't override any local variable you may define in your script.
Clear Log();
cols = Data Table( 1 ) << Get Column Names( numeric, continuous );
Q = column( char(cols[7])) << Get Property( "Spec limits" );
Jim

Recommended Articles