NIPO ODIN Version 5.17

Previous Topic

Next Topic

Expressions

NIPO ODIN supports the use of expressions in questionnaires. An expression may indicate all sorts of data but will always result in a value. Expressions are used in two different ways:

  • As a boolean; the result of the expression is either false (the expression has as result value 0) or true (the expression has as result the value 1).
  • To make calculations or manipulations with a value as result.

Some commands will require or allow for an expression as argument. Expressions have to be enclosed in square brackets.

Expressions are evaluated from left to right and operators apply to the operands immediately left and right. NIPO ODIN expressions do not follow the regular precedence rules! If a left-to-right evaluation is not appropriate, you can use parenthesis to evaluate an expression first.

See Also