ex30.pp 190 B

123456789
  1. Program Example30;
  2. { Program to demonstrate the Halt function. }
  3. begin
  4. Writeln ('Before Halt.');
  5. Halt (1); { Stop with exit code 1 }
  6. Writeln ('After Halt doesn''t get executed.');
  7. end.