ex15.pp 257 B

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