Higher-order functions: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: changed whitespace and indentations.) |
m (→{{header|REXX}}: changed the comment describing the program.) |
||
Line 2,409: | Line 2,409: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
<lang rexx>/*REXX program demonstrates passing a function as a name to another function. |
<lang rexx>/*REXX program demonstrates passing a function (as a name) to another function. */ |
||
n=3735928559 |
n=3735928559 |
||
funcName = 'fib' ; q= 10; call someFunk funcName, q; call tell |
funcName = 'fib' ; q= 10; call someFunk funcName, q; call tell |