next up previous contents
Next: Assignment Up: Expressions and Assignment Previous: Expressions and Assignment

Expressions

Each of the three broad type classes has its own set of intrinsic (in-built) operators, for example, +, // and .AND.,

The following are valid expressions,

    a+6*g(i)/5.0-(a**2) ! numeric valued
    name//" is a wally" ! character valued
    lhs .GT. rhs        ! logical valued

Expressions can be used in many contexts and can be of any intrinsic type.

For more information, click here gif


next up previous contents
Next: Assignment Up: Expressions and Assignment Previous: Expressions and Assignment

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