not, ~, pcrnot
Boolean-not operation
Result = not expression # (pcrcalc)
Result = ~ expression # (python)
Result = pcrnot(expression) # (python)
The cell values on expression are interpreted as Boolean values; where 1 is TRUE and 0 is FALSE. For each cell the Boolean not evaluation is performed: if expression has a cell value 1 (TRUE) Result has a cell value 0 (FALSE) on the corresponding cell; if expression has cell value 0 (FALSE) Result has cell value 1 (TRUE).
A cell with missing value on expression is assigned a missing value on Result.
This operation belongs to the group of Boolean operators
Result.map |
Expr1.map |
![]() |
![]() |