Special variables: Difference between revisions
Content deleted Content added
m →{{header|REXX}}: added whitespace before and after the special variable names. -- ~~~~ |
m →{{header|REXX}}: changed plural use of variables to singular to match subject. -- ~~~~ |
||
Line 1,111:
The REXX language has three special variables:
* '''RC''' [the
* '''RESULT''' [the result RETURNed from a subroutine or function
* '''SIGL''' [the source line number that did the transfer of control
Each of the above may be used as a regular REXX
<br>Because REXX may define (or re-define) any of these variables during execution of the REXX program, it isn't recommended that they be used as regular REXX variables.
Initially, the above three special variables aren't defined *nbsp; (until the appropriate action for their use has been performed).
: If no commands have been issued to the host, then the '''RC''' special variable isn't defined.
:: (This excludes the use of '''SIGNAL ON
In each case, the variable names may be in lower/upper/mixed case.
|