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.
%3CLINGO-SUB%20id%3D%22lingo-sub-425712%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E3%82%A8%E3%83%A9%E3%83%BC%E3%80%8C%E9%80%81%E4%BF%A1%E3%81%AB%E3%81%AF%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%8F%AF%E8%83%BD%E3%81%AA%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%A7%E3%81%99...%E3%80%8D%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-425712%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%81%BF%E3%81%AA%E3%81%95%E3%82%93%E3%80%81%E3%83%87%E3%83%BC%E3%82%BF%20%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E5%86%85%E3%81%A7%E6%A9%9F%E8%83%BD%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%82%92%E6%84%8F%E5%9B%B3%E3%81%97%E3%81%9F%E9%9D%9E%E5%B8%B8%E3%81%AB%E5%8D%98%E7%B4%94%E3%81%AA%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%81%A4%E3%81%BE%E3%82%8A%E3%80%81%E3%83%87%E3%83%BC%E3%82%BF%20%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%81%8C%E6%97%A2%E3%81%AB%E3%81%82%E3%82%8A%E3%80%81%E3%81%9D%E3%81%AE%E4%B8%AD%E3%81%AB%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E4%BD%9C%E6%88%90%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%20(%E9%96%A2%E9%80%A3%E6%80%A7%E3%81%8C%E3%81%82%E3%82%8B%E3%81%8B%E3%81%A9%E3%81%86%E3%81%8B%E3%81%AF%E3%82%8F%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%81%8C%E3%80%81%20...)%E3%80%82%3CBR%20%2F%3E%E4%BB%A5%E4%B8%8B%E3%81%AE%20column7%20%E3%81%8B%E3%82%89%E4%BB%95%E6%A7%98%E5%88%B6%E9%99%90%E3%82%92%E5%8F%96%E5%BE%97%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81%E6%AF%8E%E5%9B%9E%E3%81%93%E3%81%AE%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E7%99%BA%E7%94%9F%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%20%22Send%20%E3%81%AF%E3%80%81'Send'%20%E3%81%AE%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%81%BE%E3%81%9F%E3%81%AF%E8%A9%95%E4%BE%A1%E3%81%A7%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E5%8F%AF%E8%83%BD%E3%81%AA%E3%82%AA%E3%83%96%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E4%BA%88%E6%9C%9F%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%2C%20Eval%20Exp(%22%3A%22%20%7C%7C%20cols%5B7%5D)%20%26lt%3B%26lt%3B%20%2F*%23%23%23*%2F%20Get%20Property%20(%22Spec%20Limits%22)%20%2F*%23%23%23*%20%2F%22%3C%2FP%3E%0A%3CP%3E%E7%A7%81%E3%81%8C%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AF%E6%AC%A1%E3%81%AE%E3%81%A8%E3%81%8A%E3%82%8A%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20to%20Here(1)%3B%20%2F%2FThis%20enables%20any%20variables%20to%20remain%20local%20to%20the%20script%20and%20not%20interact%20with%20any%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2Fpre-defined%20jmp%20environment%20variables.%0ADelete%20Symbols()%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2FRemoves%20the%20values%20of%20any%20global%20variables%20already%20defined%20in%20the%20jmp%20enviroment%20so%20that%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2Fthey%20don't%20override%20any%20local%20variable%20you%20may%20define%20in%20your%20script.%0Aclear%20log%20()%3B%0Acols%20%3D%20Data%20Table(1)%20%26lt%3B%26lt%3B%20Get%20Column%20Names(%20numeric%2C%20continuous%20)%3B%0AQ%20%3D%20Eval%20Expr(%22%3A%22%20%7C%7C%20cols%5B7%5D)%20%26lt%3B%26lt%3B%20Get%20Property(%20%22Spec%20limits%22%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-425712%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3E%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%86%E3%82%A3%E3%83%B3%E3%82%B0%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-425719%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ERe%3A%20%E3%82%A8%E3%83%A9%E3%83%BC%E3%80%8Csend%20Expects%20scriptable%20object...%E3%80%8D%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-425719%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E3%81%93%E3%82%8C%E3%81%AF%E3%80%81Column()%20%E9%96%A2%E6%95%B0%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E5%BF%85%E8%A6%81%E3%81%AA%E3%81%93%E3%81%A8%E3%82%92%E8%A1%8C%E3%81%86%201%20%E3%81%A4%E3%81%AE%E6%96%B9%E6%B3%95%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%20%2F%2FThis%20enables%20any%20variables%20to%20remain%20local%20to%20the%20script%20and%20not%20interact%20with%20any%0A%2F%2Fpre-defined%20jmp%20environment%20variables.%0ADelete%20Symbols()%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2FRemoves%20the%20values%20of%20any%20global%20variables%20already%20defined%20in%20the%20jmp%20enviroment%20so%20that%0A%2F%2Fthey%20don't%20override%20any%20local%20variable%20you%20may%20define%20in%20your%20script.%0AClear%20Log()%3B%0Acols%20%3D%20Data%20Table(%201%20)%20%26lt%3B%26lt%3B%20Get%20Column%20Names(%20numeric%2C%20continuous%20)%3B%0AQ%20%3D%20column(%20char(cols%5B7%5D))%20%26lt%3B%26lt%3B%20Get%20Property(%20%22Spec%20limits%22%20)%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
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