home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
users
/
Harry
/
compilers
/
p6
/
tst
/
forOK.pcat
< prev
next >
Wrap
Text File
|
2005-11-18
|
264b
|
18 lines
(* Test FOR statement checking
**
** It contains no errors.
*)
program is
var i: integer := 0;
var a: real := 0.0;
var b: boolean := false;
begin
for i := 1 to 10 by 2 do
write ("hello");
end;
for i := 1 to 10 do
write ("hello");
end;
end;