Anonymous user
Nested function: Difference between revisions
m
→{{header|REXX}}: changed inner function name.
m (→{{header|REXX}}: user the function name suggest by the task.) |
m (→{{header|REXX}}: changed inner function name.) |
||
Line 1,153:
exit 0 /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
say ctr || sep word($, ctr) /*display three thingys ───► terminal. */
return
Line 1,159:
MakeList: parse arg sep; $= 'first second third' /*obtain an argument; define a string.*/
do while ctr<3 /*keep truckin' until finished. */
call
end /*while*/
return</lang>
|