/sys$common/syshlp/helplib.hlb
FORTRAN, Data, Constants, Integer

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  An integer constant is a whole number with no decimal point.  It
  can have a leading sign and is interpreted as a decimal number.  It
  has the form:

    snn               s  is an optional sign
                      nn is a string of decimal digits

  The value of the integer constant must be in the range -2147483648
  to 2147483647.

  You can use integer constants to assign values to data.  The
  integer data types have the following ranges:

    BYTE         Same range as LOGICAL*1 and INTEGER*1

    INTEGER*1    Signed integers: -128 to 127 (-2**7 to 2**7-1)
    (1 byte)     Unsigned integers: 0 to 255 (2**8-1)

    INTEGER*2    Signed integers: -32768 to 32767
    (2 bytes)                     (-2**15 to 2**15-1)
                 Unsigned integers: 0 to 65535 (2**16-1)

    INTEGER*4    Signed integers: -2147483648 to 2147483647
    (4 bytes)                          (-2**31 to 2**31-1)

  Integer constants in an octal form are preceded by a quotation mark
  and must use only the digits 0-7.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.