|
GPP_STOP
This GPP2 statement allows the GPP developer to stop the execution at any point. It is used in cases where there is no point in carrying on with the process (For example, reached machine limits or some other critical condition).
GPP_STOP;
GPP_STOP <str-expr>; // string is optional
In case a string argument is used, it will be displayed to the user. That way, the developer can explain why the execution had to be stopped (or what needs to be done in order to fix the problem).
Example
GPP_STOP "Reached machine X axis limit!";
|