Calculations

Prev Next

Overview

Calculations are seen as part of RHS expressions where a calculation is applied on 1 or more values using operators or function calls are made.

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