<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Possiamo risolvere questo problema nella Guida allo scripting?
//Guida allo scripting pagina 336
dt = Open( "$DATI_ESEMPIO\Classe Grande.jmp" );
dt << Select Where( età < 15 & sesso == "F" );
//O
dt << Select Where( età == 14 );
dt << Estendi Seleziona Dove( sesso == "F" ); //non fa nulla
//Non nella guida, ma sotto funziona
aspetta(10);
dt << Select Where( sex == "F", Current Selection ("extend")); //estende la selezione
Quanto segue è tratto dalla pagina 340 della JMP 12.1 Scripting Guide ed è anche incluso nella documentazione in linea corrente:
To select a row without deselecting a previously selected row, combine << Select Where with
<< Select Where and the current selection("extend") argument. This is an alternative to
using an OR statement.
dt << Select Where( age == 14 );
dt << Select Where( sex == "F", current selection("extend"));
Spero che aiuti!
Wendy