Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
/*REXX*/ parse arg a b c
|
||||
say f(a,b,c)
|
||||
exit
|
||||
f:return arg(1)arg(3)arg(3)arg(2)
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
/*REXX program demonstrates interactive programming by using a function [F]. */
|
||||
say f('Rosetta', "Code", ':')
|
||||
say f('The definition of a trivial program is ', " one that has no bugs.", '───')
|
||||
exit /*stick a fork in it, we're all done. */
|
||||
/*──────────────────────────────────────────────────────────────────────────────────────*/
|
||||
f: return arg(1) || copies(arg(3),2) || arg(2) /*return the required string to invoker*/
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
/*REXX program demonstrates interactive programming by using a function [F]. */
|
||||
say '══════════════════ enter the function F with three comma-separated arguments:'
|
||||
parse pull funky
|
||||
interpret 'SAY' funky
|
||||
exit /*stick a fork in it, we're all done. */
|
||||
/*──────────────────────────────────────────────────────────────────────────────────────*/
|
||||
f: return arg(1) || copies(arg(3),2) || arg(2) /*return the required string to invoker*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue