mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-04 08:43:40 +02:00
16 lines
257 B
ObjectPascal
16 lines
257 B
ObjectPascal
Program Example15;
|
|
uses Crt;
|
|
|
|
{ Program to demonstrate the Delay function. }
|
|
var
|
|
i : longint;
|
|
begin
|
|
WriteLn('Counting Down');
|
|
for i:=10 downto 1 do
|
|
begin
|
|
WriteLn(i);
|
|
Delay(1000); {Wait one second}
|
|
end;
|
|
WriteLn('BOOM!!!');
|
|
end.
|