Top: f77 Up: 8 - Data
Previous: 8,8 - Substrings Next: 8,9,1 - Character


Section 8,9: Types

 The Fortran data types are as follows:

  o  Integer - a whole number

  o  REAL (REAL*4) - a single-precision floating point number (a
     whole number or a decimal fraction or a combination)

  o  DOUBLE PRECISION (REAL*8) - a double-precision floating point
     number (like REAL*4, but with twice the degree of accuracy in
     its representation)

  o  COMPLEX (COMPLEX*8) - a pair of REAL*4 values representing a
     complex number (the first part of the number is the real part,
     the second is the imaginary part)

  o  COMPLEX*16 (DOUBLE COMPLEX) - like complex, but with twice the
     degree of accuracy in its representation (its real or imaginary
     part must be a REAL*8)

  o  Logical - a logical value, .TRUE.  or .FALSE.

  o  Character - a sequence of characters

  o  BYTE - equivalent to INTEGER*1

Sub-Topics

  1. Character
  2. COMPLEX
  3. Integer
  4. Logical
  5. REAL

Top: f77 Up: 8 - Data
Previous: 8,8 - Substrings Next: 8,9,1 - Character