Adam Naumowicz wrote:
A call to Halt should do what you want, Halt seems to be USCD Pascal extension supported by GPC. However the version of GPC I have at hand allows only recognition of zero or non-zero value returned to the OS - when I call Halt(1) the number 42 is reported in $?.
Oops... my mistake. Will be fixed soon. Thanks for the report.
Frank