gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] constant overflow error with MAX(INTEGER8)


From: SiTex Graphics
Subject: [Gm2] constant overflow error with MAX(INTEGER8)
Date: Mon, 15 Mar 2010 13:44:52 -0400

Hi Gaius,

The following code generates a 'constant overflow error' during compilation:

MODULE test8;

FROM SYSTEM IMPORT INTEGER8;

VAR
  i8 : INTEGER8;
BEGIN
  FOR i8:=MIN(INTEGER8) TO MAX(INTEGER8) DO
  END;
END test8.

If MAX(INTEGER8) is changed to 127, the code compiles.

-Scott




reply via email to

[Prev in Thread] Current Thread [Next in Thread]