POV-Ray : Newsgroups : povray.general : does #break work as intended with #if statements? : Re: does #break work as intended with #if statements? Server Time
5 Aug 2024 16:12:41 EDT (-0400)
  Re: does #break work as intended with #if statements?  
From: Micha Riser
Date: 20 Aug 2002 06:11:25
Message: <3d6215cd@news.povray.org>
Shay wrote:
> It would also be very cool if
> 
>  #while (condition & condition)
> 
> would not evaluate the second condition if the first were false. I think
> that implementing this might cause a slow-down in code where the behavior
> was not needed, however.

So now we are two wishing that pov would use short-circuit evaluation. It 
is still on my wish-list for 4.0. See 
http://news.povray.org/povray.general/18724/ for further discussion about 
it.

- Micha

-- 
http://objects.povworld.org - the POV-Ray Objects Collection


Post a reply to this message

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