F2367
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
FORTRAN compilation error F2367
value <value> : INTEGER : range error
The specified constant was out of range for type conversion, or
the type of an integer item was in conflict with the integer size
specified in the /4I compiler option (or $STORAGE metacommand).
For example, the following code induces this error:
$STORAGE:2
INTEGER*4 i
i = 300000+30000
i = 10* 4000
= -30000-30000
END
To correct this error, use the appropriate INT2 or INT4
intrinsic function to make sure the appropriate (2- or 4-byte)
arithmetic is performed on the variable.
-♦-