The VERSION keyword parses information about the REXX interpreter, the REXX language version\level, and date of the interpreter. This consists of five words (separated by blanks). The first word is "REXX-", followed immediately by the interpreter name and its release/version number in the form "REXX-name_version". name is the name of the REXX interpreter, and version is the version/revision of the interpreter, for example, REXX-Reginald_1.0.

The second word is the REXX language level (currently "4.00").

The last three words are the release date of the interpreter (ie, "13 Aug 2001").

You should parse this information by words rather than by character position, as the language version/level could be different lengths for various versions.

NOTE: The VERSION information can vary with different REXX interpreters. Reginald's format is as above.