cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
shlomi_bakish
Level II

how to do a 'smart' wait in JSL ?

 

I'm using JSL to add some formula to a large table (10's millions of rows).

The next line of code is using to data of the formula, but if it's executed without wait - the data it sees is empty.

Adding a wait of few seconds solves it but I want to have a robust way to wait just the required amount of time (which depends on the size 
of the table which can vary).

Is there a way to know when the command actually finished populating the table?

Using JMP 15

2 REPLIES 2
txnelson
Super User

Re: how to do a 'smart' wait in JSL ?

You can try either of these

Wait( 0 );
//or
dt << rerun formulas;
Jim
Craige_Hales
Super User

Re: how to do a 'smart' wait in JSL ?

dt<<RunFormulas;

 is the best. It was invented for this.

Craige