next up previous contents
Next: Constants (Parameters) Up: Data Objects Previous: Numeric and Logical Declarations

Character Declarations

Character variables are declared in a similar way to numeric types. CHARACTER variables can

The following are all valid declarations,

   CHARACTER(LEN=10)  :: name
   CHARACTER          :: sex
   CHARACTER(LEN=32)  :: str
   CHARACTER(LEN=10), DIMENSION(10,10) :: Harray
   CHARACTER(LEN=32), POINTER :: Pstr

For more information, click here gif


next up previous contents
Next: Constants (Parameters) Up: Data Objects Previous: Numeric and Logical Declarations

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996
Not for commercial use.