Hello,
I am trying to pause a program using an if statement. Basically I need to have a statement that pops up an error window and stops the process. I have tried this with stop () and throw () as well as try() used in conjunction with throw() but these stop the program completely and not that specific section of code. Here is what I've got so far:
(If( totlots > 50 | replicates > 50,
New Window( "ERROR!", Beep(),
V List Box( Text Box( "NUMBER OF LOTS OR NUMBER OF REPLICATES CANNOT NOT EXCEED 50" ), )
/* then I need some function to pause this section of code after the window is displayed, but not the rest of the program like stop() and throw () have done. Thanks for any help!