Rexx clauses

A clause is the fundamental grouping of Rexx syntax. Roughly, it is the unit of syntax that may exist independently on a single line without using semicolons or continuation characters.

The following Rexx program has four non-empty clauses:

/* This comment is part of an empty (null) clause */
input=arg(1)      /* This assignment is the first clause */
do 10             /* .. second */
  say input       /* .. third */
  end             /* .. fourth */

Mike Cowlishaw