POV-Ray : Newsgroups : povray.advanced-users : Closing brace bug ? : Re: Closing brace bug ? Server Time
30 Jul 2024 10:13:09 EDT (-0400)
  Re: Closing brace bug ?  
From: Ron Parker
Date: 7 Oct 1999 17:06:04
Message: <slrn7vq2po.v8.parkerr@ron.gwmicro.com>
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


Post a reply to this message

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