POV-Ray : Newsgroups : povray.newusers : Incrementing variables in #for loop : Re: Incrementing variables in #for loop Server Time
26 Jul 2024 20:02:16 EDT (-0400)
  Re: Incrementing variables in #for loop  
From: jr
Date: 26 Mar 2020 22:50:00
Message: <web.5e7d693524003e8451952ca0@news.povray.org>
hi,

"Bald Eagle" <cre### [at] netscapenet> wrote:
> So, I came across a strange complaint from the POV-Ray parser. (qtpovray 3.8)
> ...
> I have a standalone file that makes the virus particle for jr's animation.
> Works fine.
>
> I copied and pasted the object definition into an include file, and I was
> suddenly getting the "Parse Error: Cannot pass uninitialized identifier to
> non-optional LValue." error.
> ...
> I'm not sure why it would work in one scene, and not the other.
> It's as if the loop or the #local somehow negates the global name, but only in
> the include file.   :O

docs 3.3.2.2.2 "declare vs local", see paragraph beginning with "Use of #local
within an include file ...".  (no different, afaict, from being within a macro)


regards, jr.


Post a reply to this message

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