POV-Ray : Newsgroups : povray.general : Is this a bug? : Re: Is this a bug? Server Time
14 Jun 2024 14:04:26 EDT (-0400)
  Re: Is this a bug?  
From: Jaime Vives Piqueres
Date: 18 Jan 2016 12:07:04
Message: <569d1bb8@news.povray.org>

>    So I tried moving the call to include data.inc outside the macro, and
> worked just fine. BTW, judging by the line 162 seems you already tried
> that?

   Sorry, I see now that indeed you tried, and that was the original 
question: why it works outside the macro but not inside.

   Anyhow, I did a test putting the macro in a separate include file, 
and now at least the error message isn't random anymore: it's always 
"Attempt to access uninitialized array element" on this line:

   #declare CFS[Count] = CFS[Count-1];

   But as data.inc is included and has valid #declares, that cannot be 
the real reason...

   ????

--
jaime


Post a reply to this message

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