Flow-control structures: Difference between revisions

Content added Content deleted
(→‎signal: replaced the REXX program, included output of same. -- ~~~~)
m (→‎call: added prototypes. -- ~~~~)
Line 1,627:
 
(Also, see '''function invocation''' below.)
<lang rexx>call routineName /*no arguments passed to routine.*/
call routineName 50 /*one argument (fifty) passed. */
call routineName 50,60 /*two arguments passed. */
call routineName 50, 60 /*(same as above) */
call routineName 50 ,60 /*(same as above) */
call routineName 10*5 , 8**4 - 4 /*(same as above) */
call routineName 50 , , , 70 /*3 args passed, 2nd was omitted.*/
/*omitted args are NOT null. */
call routineName ,,,,,,,,,,,,,,,800 /*17 args passed, 16 omitted. */
call date /*looks for DATE internally first*/
call 'DATE' /* " " " externally. */</lang>
 
<lang rexx>numeric digits 1000 /*prepare for some gihugeic numbers.*/
...