next up previous
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
Next: Intrinsic Numeric Operations Up: Expressions and Assignment Previous: Expressions

Adam Marshall ©University of Liverpool, 1996
Wed Oct 9 17:57:29 BST 1996