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 six simple intrinsic types, known as default types,

    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

For more information, click here gif


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

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.