Overloading

Section: Misc. Reference Manual Pages (Equal)
Updated: (Assignments)
Index Return to Main Contents

 6 "IRIT Version 6.0"   

NAME

Overloading Equal (Assignments)

Assignments are allowed as side effects, in any place in an expression. If "Expr" is an expression, then "var = Expr" is the exact same expression with the side effect of setting Var to that value. There is no guarantee on the order of evaluation, so using Vars that are set within the same expression is a bad practice. Use parentheses to force the order of evaluation, i.e., "( var = Expr )".


 

Index

NAME

This document was created by man2html, using the manual pages.
Time: 07:28:43 GMT, July 20, 2024