Parent Topic: Language

STOP

The STOP statement allows the model to be terminated prematurely if some error condition is detected.

   Syntax:    STOP "message" ;

   Example:   if (%3 = 0) then stop "zero value detected"; endif;
The message and the (x,y) position of the pixel which was being processed is printed.

Note: if a STOP statement is executed, output will not reflect the current point of processing since buffers are not flushed.


Parent Topic: Language
About PCI Help Gateway