Calculations, Comparisons

Prev Next

Overview

Calculations include the following:

Calculations are seen as part of RHS expressions where operations as listed above are applied on pme or more values. Thes values can be, amongst others, simple values, variables, table references and values returned from function calls.

Examples
       echo( 1 + 2 * sqrt(9) ); // Returns 7
       echo( "Drive" + ("Highway" - "High") ); // Returns "Driveway"
7
Driveway
Try it yourself: Open LAN_Features_Calculations.b4p in B4P_Examples.zip. Decompress before use.

See also

Operators
Expressions
RHS Expressions