Changes in PBL

Changes in Process Business Language

Comparison Operator

The comparison operator (==) is no longer allowed outside of boolean expressions.

For example, the following code was allowed on version 5.x, but will generate a Statement is expected error:
	Boolean var;
	var == false; // error reported on version 6
      

These kind of expressions do not product any effects. If your existing 5.x code fails on version 6 because of this error, you must revisit the code and understand what was the original intention behind it. Most commonly, it was a mistake of using the comparison operator (==) instead of the assignment operator (=).