POV-Ray : Newsgroups : povray.off-topic : Holy Wars : Re: Holy Wars Server Time
4 Sep 2024 01:18:18 EDT (-0400)
  Re: Holy Wars  
From: Jim Henderson
Date: 6 Oct 2010 15:20:07
Message: <4caccbe7$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.