We need a bitwise unary "NOT" operator to complement the "|" and "&" operators.

This will be used to construct more complex gates like XOR, and to reset binary bits.

Example:
; Set bit 7 in $iFlag
$iFlag=$iFlag | &0040
; Reset bit 7 in &iFlag
$iFlag=$iFlag & ~&0040

Where "~" is a bitwise NOT.

EDIT Changed "boolean" to "bitwise" in the text and title to make things clearer

[ 07 December 2001: Message edited by: Richard Howarth ]