POV-Ray : Newsgroups : povray.beta-test : recursion with no recursion : Re: recursion with no recursion Server Time
30 Jul 2024 02:18:51 EDT (-0400)
  Re: recursion with no recursion  
From: Tom Melly
Date: 22 Jan 2002 11:27:44
Message: <3c4d9300@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3c4d8e7f@news.povray.org...

<snip>

Interesting....

Testing....

#declare foo = function(x){x*10}
#declare bar = function(x){foo(x)}
#undef foo
#declare foo = function(x){x}

#local X = bar(1);
#local Y = foo(1);
#debug concat("X = ", str(X,0,0), "\n")
#debug concat("Y = ", str(Y,0,0), "\n")

Wow!


Post a reply to this message

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