The following code is directly out of the JMP Scripting Guide, with the exception of the Names Default To Here() line:
Names Default To Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
cc = dt << Get Column Names( "Continuous" );
ncols = N Items( cc );
For( i = 1, i <= ncols, i++,
cc[i] << Set Selected( 1 )
);
If I run this in JMP 13, I get the following error message:
Send Expects Scriptable Object in access or evaluation of 'Send' , cc[i] << /*###*/Set Selected( 1 ) /*###*/
If I then comment out the Names Default To Here line, the script still fails with the same message. The only way to clear the error is to close the script file and reopen it.
What am I missing here? How do I fix this?