Errore "l'invio prevede un oggetto scriptabile..."Ciao a tutti, sto provando uno script molto semplice che ha lo scopo di funzionare all'interno di una tabella di dati, in altre parole, ho già la tabella di dati e ho creato uno script al suo interno (non sono sicuro che sia rilevante ma ho pensato di specificare ...).
Sto cercando di recuperare i limiti delle specifiche dalla colonna 7 di seguito e ricevo questo errore ogni volta:
"Send si aspetta un oggetto script nell'accesso o nella valutazione di 'Send', Eval Exp(":" || cols[7]) << /*###*/ Get Property ("Spec Limits") /*###* /"
Il codice che sto usando è qui:
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" );SceneggiaturaRe: Errore "l'invio prevede un oggetto scriptabile..."Ecco un modo per fare ciò che vuoi usando la funzione Column().
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" );