|
![](/i/fill.gif) |
High!
Christopher James Huff schrieb:
> You might want to have a look at arrays.inc as well...
>
> > But there, Quicksort is
> > implemented as a recursive function (which returns no value),
> > now my question: is #macro equivalent to "non-returning" functions? Or
> > do I have to do it all as a series of nested loops?
>
> I'm not sure what you mean by macros being equivalent to non-returning
> functions. There is no requirement that a macro return a value...and
> recursion with macros does work.
Thank you for your suggestions... but meanwhile, I found it out on my own,
see "Heuraka! It works!".
I just translated the code from my C tutorial to PoV-Ray, and it works
perfectly!
See you in Khyberspace!
Yadgar
Post a reply to this message
|
![](/i/fill.gif) |