fpc/tests/tbs/tb0173.pp
2002-09-07 15:40:30 +00:00

14 lines
263 B
ObjectPascal

{ Old file: tbs0206.pp }
{ sets with variable ranges doesn't work OK 0.99.11 (PFV) }
PROGRAM SetRange_Bug;
CONST a:char='A';z:char='Z';
VAR s:set of char;c:char;
BEGIN
s:=[a..z];
for c:=#0 to #255 do
if c in s then
write(c);
writeln;
END.