tw1996.pp 562 B

123456789101112131415161718192021
  1. { Source provided for Free Pascal Bug Report 1996 }
  2. { Submitted by "Louis Jean-Richard" on 2002-06-03 }
  3. { e-mail: [email protected] }
  4. PROGRAM RangeDefinition;
  5. TYPE
  6. codeIndex = 5 .. 287;
  7. CONST
  8. noCodeIndex = HIGH(codeIndex) + 1;
  9. valuereal = 14.5 + 13.4;
  10. CONST
  11. noCodeIndexBis = SUCC(HIGH(codeIndex));
  12. TYPE
  13. codePointer = 0 + LOW(codeIndex) .. noCodeIndex;
  14. TYPE
  15. codePointerBis = LOW(codeIndex) .. noCodeIndex;
  16. var
  17. Code : CodeIndex;
  18. BEGIN
  19. code := 1 + LOW(codeIndex);
  20. END
  21. .