RexxLang 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 */

A performance measure for Rexx interpreters and compilers is the rexxcps.rex program; results of running this on various platforms over the last 25 years are in the RexxCPS list.


Please send any corrections or additions to Mike Cowlishaw,  mfc@speleotrove.com.

Copyright © Mike Cowlishaw 1980, 2012.