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

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