fpc/tests/tbs0206.pp
1999-01-27 12:47:57 +00:00

10 lines
161 B
ObjectPascal

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.