[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

Compound assignments

A compound assignment with op= is interpreted in terms of the simple assignment:

e1 op= e2;

is equivalent to

e1 = (e1) op (e2);

except that e1 is evaluated only once.



[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

Copyright © 1998, Lucent Technologies, Inc. All rights reserved.