Higher-order functions: Difference between revisions
Content added Content deleted
(Updated both D versions) |
mNo edit summary |
||
Line 1,062: | Line 1,062: | ||
<lang joy>2 3 [first] second.</lang> |
<lang joy>2 3 [first] second.</lang> |
||
The program prints 6. |
The program prints 6. |
||
{{omit from|Liberty BASIC}} |
|||
=={{header|Logo}}== |
=={{header|Logo}}== |
||
Line 1,685: | Line 1,687: | ||
=={{header|Run BASIC}}== |
=={{header|Run BASIC}}== |
||
{{incorrect|Run BASIC}} |
{{incorrect|Run BASIC|Passing function pointers is not possible in Run BASIC. This section should be removed.}} |
||
{{omit from|Run BASIC}}, |
|||
<lang runbasic>print first(99) |
<lang runbasic>print first(99) |
||
print second(first(99)) |
print second(first(99)) |