Evaluation Order Operators

Evaluation Order Operators --  , ( )

Syntax

symbol , symbol
( symbol operator symbol )

		

Arguments

symbol

Any symbol.

operator

Any operator.

Determine

Sequence of operation.

Description

Operations before a , are performed before those after it.

Operations enclosed by ( and ) are performed first.

Examples

    Gamma> x = 3;
    3
    Gamma> princ("x = ", x, "\n");
    x = 3
    t
    Gamma> (2 + 3) * 4;
    20
    Gamma> 2 + (3 * 4);
    14
    Gamma>  
    		

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.