tb0173.pp 329 B

12345678910111213141516171819202122
  1. { %fail }
  2. { use a structured type used to keep the namings clean }
  3. type
  4. tLoopParm =
  5. record
  6. Min,
  7. Max,
  8. Cur : word;
  9. end {tLoopParm};
  10. var
  11. One,
  12. Two,
  13. Three,
  14. Four : tLoopParm;
  15. begin
  16. One.Min := 42;
  17. One.Max := 42;
  18. for One.Cur := One.Min to One.Max do
  19. begin
  20. end {for One};
  21. end {Bug}.