tb0173.pp 262 B

12345678910111213
  1. { Old file: tbs0206.pp }
  2. { sets with variable ranges doesn't work OK 0.99.11 (PFV) }
  3. PROGRAM SetRange_Bug;
  4. CONST a:char='A';z:char='Z';
  5. VAR s:set of char;c:char;
  6. BEGIN
  7. s:=[a..z];
  8. for c:=#0 to #255 do
  9. if c in s then
  10. write(c);
  11. writeln;
  12. END.