User Tools

Site Tools


cookbooks:3.3.x:core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
cookbooks:3.3.x:core [2012/06/12 11:08]
miconda created
cookbooks:3.3.x:core [2012/09/07 10:05]
vitalik [Arithmetic operations]
Line 2764: Line 2764:
 NOTE: to ensure the priority of operands in expression evaluations do use __parenthesis__. NOTE: to ensure the priority of operands in expression evaluations do use __parenthesis__.
  
-Arithmetic expressions can be used in condition expressions via test operator ' [ ... ] '.+Arithmetic expressions can be used in condition expressions.
  
 <code> <code>
-if( $var(a) & 4 )+if( $var(a) & 4 )
     log("var a has third bit set\n");     log("var a has third bit set\n");
 </code> </code>
cookbooks/3.3.x/core.txt ยท Last modified: 2014/05/31 13:36 by mslehto