Special variables: Difference between revisions
Content deleted Content added
Walterpachl (talk | contribs) m removed incorrect header |
Walterpachl (talk | contribs) →version 2: add a note on RETURN |
||
Line 1,418: | Line 1,418: | ||
RESULT is set or dropped after a CALL to a subroutine: |
RESULT is set or dropped after a CALL to a subroutine: |
||
It is assigned the value given in the RETURN statement |
It is assigned the value given in the RETURN statement |
||
or it is dropped when there was a RETURN without expression. |
or it is dropped when there was a RETURN without expression. (some REXX implementations set RESULT also upon return from a function invocation - see version 1 and the Discussion) |
||
SIGL is set when control is tranferred within the REXX program. |
SIGL is set when control is tranferred within the REXX program. |