Back to table

valid-proc-nocall.accept

The following is valid µOCCAM. This program simply illustrates the use of a procedure, followed by an empty sequence.

Program file: /public/cs3/web/ipptests-phase-1/valid-proc-nocall.accept
-- a simple valid program
PROC inc(INT x) 
  x := x + 1
:

SEQ
  -- don't bother with function call