Back to Index

Definition: expr && expr (or expr and expr) — Allowed: numeric expressions; Not allowed: strings.

Logical conjunction. Evaluates to 1 when both operands are non-zero, otherwise 0. Has higher precedence than || but lower than !.

Example

if (in(1) && in(2)) {
  out(1) = 1;
}