home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex30.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  190 b   |  10 lines

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