z/OS TSO/E REXX User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Continuing an instruction

z/OS TSO/E REXX User's Guide
SA32-0982-00

A comma indicates that the instruction continues to the next line. Note that a space is added between "extended" and "REXX" when it appears on the screen.
SAY 'This is an extended',
    'REXX literal string.'
This example appears on the screen as one line.
    This is an extended REXX literal string.
Also note that the following two instructions are identical and yield the same result when displayed on the screen:
SAY 'This is',
    'a string.'
is functionally identical to:
SAY 'This is' 'a string.'
These examples appear on the screen as:
    This is a string.

In the first example, the comma at the end of line 1 adds a space when the two lines are concatenated for display. In the second example, the space between the two separate strings is preserved when the line is displayed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014