INPUT /  OUTPUT /  LANGUAGE





mod tag

Transient logic tag

Generates the remainder after division.

Sample usage

Fields

Primary field

Vector field

A list of one or more numerical values.

Secondary fields

None.

Behaviour

The first value is divided by the second, and the remainder generated. If there are more values, the operation is repeated on the result.

Notes

mod is often used to test whether a number is even: <eq <mod n, 2>, 0>.

See also