PawCalc considers a value of zero to be false and any other value to be true. When returning a truth value, PawCalc always uses zero for false and one for true.
You can compare values using =, <, >, <>, <=, and >=. Select "Relations" in the "Layout" menu to easily access these functions.
You can do math on truth values using & (logical and), | (logical or), and ! (logical not). (Be careful not to get the postfixed and the prefixed '!' mixed up. The postfixed '!' is the factorial function. The prefixed version is the logical negation operator.) Select "Logic" in the "Layout" menu to easily access these functions.
The following expression evaluate to 1, 0, and 1: