Anonymous recursion: Difference between revisions
m
BaCon, BASIC256, and BBC BASIC moved to the BASIC section.
m (Improve lang example: Update execution mode expressions) |
m (BaCon, BASIC256, and BBC BASIC moved to the BASIC section.) |
||
Line 380:
f()(x,1,1)</syntaxhighlight>
==={{header|BaCon}}===
<syntaxhighlight lang="freebasic">
Line 423:
</syntaxhighlight>
==={{header|BASIC256}}===▼
▲=={{header|BASIC256}}==
{{trans|AutoIt}}
<syntaxhighlight lang="basic256">print Fibonacci(20)
Line 450 ⟶ 449:
55</pre>
==={{header|BBC BASIC}}===
▲=={{header|BBC BASIC}}==
{{works with|BBC BASIC for Windows}}
This works by finding a pointer to the 'anonymous' function and calling it indirectly:
|