next up previous contents
Next: Intrinsic Numeric Operations Up: Expressions and Assignment Previous: Expressions

Assignment

Assignment is defined between all expressions of the same type:

Examples,

    a = b
    c = SIN(.7)*12.7  ! SIN in radians
    name = initials//surname
    bool = (a.EQ.b.OR.c.NE.d)

The LHS is an object and the RHS is an expression.

For more information, click here gif


next up previous contents
Next: Intrinsic Numeric Operations Up: Expressions and Assignment Previous: Expressions

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