Continuing an instruction

About this task

A comma is the continuation character. It indicates that the instruction continues to the next line. The comma, when used in this manner, also adds a space when the lines are concatenated. Here is how the comma continuation character works when a literal string is being continued on the next line.
SAY 'This is an extended',
    'REXX literal string.'
The comma at the end of the first line adds a space (between extended and REXX when the two lines are concatenated for output. A single line results:
This is an extended REXX literal string.
The following two instructions are identical and yield the same result:
SAY 'This is',
    'a string.'
SAY 'This is' 'a string.'
The space between the two separate strings is preserved:
This is a string.

Task Task

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/dfhrx00012.html