POV-Ray : Newsgroups : povray.programming : Trivial bug in unix.cpp : Re: Trivial bug in unix.cpp Server Time
4 Oct 2024 16:54:24 EDT (-0400)
  Re: Trivial bug in unix.cpp  
From: Christopher James Huff
Date: 25 Nov 2003 18:02:27
Message: <cjameshuff-DA813A.18012225112003@netplex.aussie.org>
In article <3FC### [at] freefr>,
 Nicolas Calimet <pov### [at] freefr> wrote:

> > Sorry, but the presence of a flag is tested by using 
> >   state & flag 
> > and not
> >   state | flag
> > because the latter is always true. 
> 
> 	No. The latter is false when both state and flag are false.
> It's true in any other case.

Of what use would this be? And even then, it wouldn't work 
properly...such a flag could never be set, but state | flag would be 
true if any other flag is set.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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