POV-Ray : Newsgroups : povray.text.scene-files : foreach macro : Re: foreach macro Server Time
15 May 2021 20:40:03 EDT (-0400)
  Re: foreach macro  
From: Tor Olav Kristensen
Date: 26 Apr 2021 21:00:00
Message: <web.608761b7d564bfd48e52cc8789db30a9@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > posting #4 of 'Foreach()'...
>
> tried to see how many levels of nested calls of 'Foreach()' POV-Ray will do,
> given that the documentation[*] does not mention a limit.  got to nine.  when I
> uncomment the line in 'm_l9', the error shown below code (attached) occurs.
> this is the "call stack" getting trashed?
>...

I don't know.

I just made a macro call itself - and then I got this error after about 99
calls:
"Parse Error: Too many nested symbol tables"

This was with POV-Ray in Ubuntu 20.04.2 LTS:

Persistence of Vision(tm) Ray Tracer Version 3.7.0.8.unofficial (g++ @
x86_64-pc-linux-gnu)
This is an unofficial version compiled by:
 Dimitri John Ledkov <xno### [at] ubuntucom> for Debian <www.debian.org>

Since you don't get the same error message: Could this possible be some other
problem in your code ?

--
Tor Olav
http://subcube.com
https://github.com/t-o-k


Post a reply to this message

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