POV-Ray : Newsgroups : povray.beta-test : recursion with no recursion : Re: recursion with no recursion Server Time
30 Jul 2024 02:28:58 EDT (-0400)
  Re: recursion with no recursion  
From: Thorsten Froehlich
Date: 22 Jan 2002 11:36:04
Message: <3c4d94f4@news.povray.org>

Skiba <abx### [at] babilonorg>  wrote:

> Thank You for explanation. And little additional question: is below script
> supposed in this design to be also treated as recursion ?
>
> #macro F()
>   function(k,l){
>     #local E=function(c){c};
>     select(E(k+l)
>     #undef E
>     ,0,1)
>   }
> #end
> #declare E=F();

Interesting question.  I would have to step through the source code and see
what actually happens when.  Also I haven't tried your script it might be
possible to trick the parser this way, but I am not sure...

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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