ack/lang/pc/test/t5.p

14 lines
298 B
OpenEdge ABL
Raw Normal View History

1984-07-12 13:50:44 +00:00
{$i1000}
program test(output);
1994-06-24 14:02:31 +00:00
const rcsversion='$Id$';
1984-07-12 13:50:44 +00:00
var b:false..true;
i:integer;
s:set of 0..999;
begin
b:=true; if not b then writeln('error 1');
s:=[0,100,200,300,400,500,600,700,800,900];
for i:=0 to 999 do
if (i in s) <> (i mod 100=0) then
writeln('error 2');
end.