POV-Ray : Newsgroups : povray.advanced-users : Closing brace bug ? : Re: Closing brace bug ? Server Time
2 Nov 2024 11:26:58 EDT (-0400)
  Re: Closing brace bug ?  
From: Ken
Date: 7 Oct 1999 17:10:25
Message: <37FD0C31.F2731A89@pacbell.net>
Ron Parker wrote:
> 
> On Thu, 07 Oct 1999 13:58:18 -0700, Ken wrote:
> 
> >#declare A = 12;
> >#while (A<12)
> 
> Nothing inside the #while - including the "extra" close brace -
> will even be parsed, just read and ignored.  This is exactly like
> the old C practice commenting out code by using #if 0 (which I do.)
> 
> [...]
> 
> >// } // <------ uncomment this line
> >
> >#declare A=A+1;
> >#end

I knew it had to be something simple and my fault but I just couldn't
see it. Thanks Uncle Ron.

-- 
Ken Tyler
1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

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