Back to Index

Definition: !expr (or not expr) — Allowed: numeric expression; Not allowed: strings.

Logical negation. Returns 1 when the operand is zero, else 0. Highest precedence among logical operators.

Example

if (!in(1)) {
  out(1) = 1;
}