Scope modifiers: Difference between revisions
Content deleted Content added
m →{{header|REXX}}: added note about R4's ''exposeALL'' option. -- ~~~~ |
|||
Line 584:
<br>for those identified via the EXPOSE option. There is a variant where the EXPOSE can have a list specified.
<br>Any REXX variables in an external routine (program) aren't known.
<br>Note: the R4 REXX interpreter has an '''EXPOSEALL''' option that allows an external REXX subroutine to access the caller's local variables.
<br>There is a mechanism that allows external programs to access local REXX variables and is essentially restricted to
<br>assembler programs that use the REXXAPI interface.
<br>All labels (names of subroutines/functions/procedures) are global.
<br>If more than one identical label is specified, only the first label is recognized (and not considered an error).
<lang rexx>/*REXX program to display scope modifiers (for subroutines/functions). */
a=1/4
|