The ZHALT command stops program execution and causes GT.M to return control to the invoking environment/program with a return code.

The format of the ZHALT command is:

ZHALT[:tvexpr] [intexpr]
loading table of contents...