End the job: $Exit, $Abort, $Error, $Stop, $Terminate

Top  Previous  Next

One can cause the job to terminate in several ways

 

To exit compilation use

 

$exit

 

To stop compilation and write a message use

 

$abort message

 

To generate a compile error with a message  use

 

$error message

 

To stop without a message use

 

$stop

 

To stop compilation and end the job

 

$terminate