Conditional expression evaluation

  • The order of conditions specified in 'if...then' expressions drives the evaluation process. Multiple conditions could be true but the second and later conditions will be discarded and not evaluated.
  • If the value produced by the 'if' condition is not a logical value, an error is raised.