Attempting to delete a table property that does not exist in a data table returns the error "cannot find table property." Because this is an error condition, the JSL script stops executing. Prior versions of JMP® ignored the condition and proceeded with the next JSL statement.
As a workaround, the Try() function can be used to escape the error condition and optionally execute a catch expression (optional second argument). Using the Try() would be harmless to earlier versions of JMP because no error is generated, and it would allow the existing scripts to run in JMP 14. Here is a simple example that includes the optional second argument:
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
Try( dt << Delete Property( "Fred" ), Print( "Table Property Fred does not exist" ) );
Print( "Continue to next JSL statement" );
[Previously JMP Note 62153]