next up previous contents
Next: Literal Constants Up: Data Objects Previous: Data Objects

 

Intrinsic Types

Fortran 90 has three broad classes of object type,

these give rise to five simple intrinsic types, known a default types,

For example,

    CHARACTER         :: sex  ! letter
    CHARACTER(LEN=12) :: name ! string
    LOGICAL           :: wed  ! married?
    REAL              :: height
    DOUBLE PRECISION  :: pi   ! 3.14...
    INTEGER           :: age  ! whole No.
    COMPLEX           :: val  ! x + iy

Each type has

Note,

Return to corresponding overview page gif


next up previous contents
Next: Literal Constants Up: Data Objects Previous: Data Objects

©University of Liverpool, 1997
Wed May 28 20:20:27 BST 1997
Not for commercial use.