home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource5
/
349_01
/
sss.arc
/
EX_0201.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Pascal/Delphi Source File
|
1991-04-09
|
406 b
|
23 lines
Program EX_0201;
{Listing 1P - see documentation in TUTOR.SSS}
uses SSS;
{ For Pascal other than Turbo/Quick erase above line }
{ For MS Pascal $include:'SSSP1.H' }
var
pt : real;
{ For MS Pascal $include:'SSSP2.H' }
begin
pt := EX(0.5);
while pt <= 10 do
begin
writeln('A new ship enters the port at time ',
pt:7:2);
pt := pt + EX(0.5);
end;
end.