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

 

Assignment

Expressions are often used in conjunction with the assignment operator, =, to give values to objects. This operator,

Examples,

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

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


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

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 15:03:35 GMT 1996
Not for commercial use.