|
![](/i/fill.gif) |
On Wed, 06 Oct 2010 15:17:30 -0400, Jim Henderson wrote:
> On Wed, 06 Oct 2010 16:33:52 +0100, Invisible wrote:
>
>>> Uh, wha? No recursion?
>>
>> Cute. Now try doing that while actually processing some data. Oh, wait,
>> you can't - no local variables. :-P
>
> You can, local variables aren't required, you just have to code around
> that limitation.
>
> You can certainly cause stack overflows (since that's how RETURN gets
> back to the entry point).
>
>> Of course, BASIC is Turing-complete. You can implement variable scoping
>> manually yourself. But that's not the same as the language having real
>> support for recursion...
>
> You said "no recursion". I showed there was some. Give up now. ;-)
http://www.atarimagazines.com/compute/issue26/130_1_RECURSIVE_BASIC_SUBROUTINES.php
Just in case you needed further evidence of recursive capabilities.
Jim
Post a reply to this message
|
![](/i/fill.gif) |