Flow-control structures: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) m (→{{header|Bracmat}}: typo) |
m (→call: added another "see also" thingy. -- ~~~~) |
||
Line 1,644: | Line 1,644: | ||
The named subroutine may or may not return a '''result''' (which is similar to a ''return code'', but REXX allows character strings as well). |
The named subroutine may or may not return a '''result''' (which is similar to a ''return code'', but REXX allows character strings as well). |
||
(Also, see '''function invocation''' below.) |
(Also, see '''function invocation''' and '''signal''' statement below.) |
||
<lang rexx>call routineName /*no arguments passed to routine.*/ |
<lang rexx>call routineName /*no arguments passed to routine.*/ |
||
call routineName 50 /*one argument (fifty) passed. */ |
call routineName 50 /*one argument (fifty) passed. */ |