POV-Ray : Newsgroups : povray.text.scene-files : foreach macro : Re: foreach macro Server Time
22 Jun 2021 10:59:42 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
"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 (g++ @
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

Post a reply to this message

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