Back to table

Conditional tests

The following is Valid µOCCAM. This program tests to see if a conditional construct with more than one choice is accepted.

Program file: /public/cs3/web/ipptests-phase-1/validconditional.accept
IF
  (2+3)
    alpha := 1
  (4+5)
    beta := 2
-- comment just to test EOF with a comment is OK