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

  1. Program Example15;
  2. uses Crt;
  3.  
  4. { Program to demonstrate the Delay function. }
  5. var
  6.   i : longint;
  7. begin
  8.   WriteLn('Counting Down');
  9.   for i:=10 downto 1 do
  10.    begin
  11.      WriteLn(i);
  12.      Delay(1000); {Wait one second}
  13.    end;     
  14.   WriteLn('BOOM!!!'); 
  15. end.
  16.