[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Halt; |
Halt (ExitCode: Integer); |
`Halt' terminates the program with exitcode 0. If `ExitCode', is specified, it is returned by `Halt' on exit.
`Halt' is a UCSD Pascal extension.
program HaltDemo; begin WriteLn ('This string will always be this program''s output.'); Halt; { Terminate right here and right now. } WriteLn ('And this string won''t ever!') end. |
section 9.30 Break, section 9.52 Continue, section 9.77 Exit, section 9.231 Return, section 9.106 goto.