POV-Ray : Newsgroups : povray.newusers : IF statment with "and" "or"... Server Time
29 Jul 2024 10:31:52 EDT (-0400)
  IF statment with "and" "or"... (Message 1 to 5 of 5)  
From: danyolgiax
Subject: IF statment with "and" "or"...
Date: 1 May 2006 05:15:01
Message: <web.4455d07244ac220b58dbbb6b0@news.povray.org>
it's possible to define an if statement with "or" condition?

thanks!


Post a reply to this message

From: Warp
Subject: Re: IF statment with "and" "or"...
Date: 1 May 2006 05:21:02
Message: <4455d2fe@news.povray.org>
danyolgiax <d.o### [at] gmailcom> wrote:
> it's possible to define an if statement with "or" condition?

  Yes.

-- 
                                                          - Warp


Post a reply to this message

From: Mr Seb
Subject: Re: IF statment with "and" "or"...
Date: 1 May 2006 05:23:01
Message: <4455d375$1@news.povray.org>
yes.

the operator OR is |
The operator AND is &

And the operator Not egal is != (this can be useful)


news:web.4455d07244ac220b58dbbb6b0@news.povray.org...
> it's possible to define an if statement with "or" condition?
>
> thanks!
>
>


Post a reply to this message

From: danyolgiax
Subject: Re: IF statment with "and" "or"...
Date: 1 May 2006 05:50:01
Message: <web.4455d96c5014eb9c58dbbb6b0@news.povray.org>
thanks!

"Mr Seb" <ban### [at] wanadoofr> wrote:
> yes.
>
> the operator OR is |
> The operator AND is &
>
> And the operator Not egal is != (this can be useful)
>

> news:web.4455d07244ac220b58dbbb6b0@news.povray.org...
> > it's possible to define an if statement with "or" condition?
> >
> > thanks!
> >
> >


Post a reply to this message

From: Thomas de Groot
Subject: Re: IF statment with "and" "or"...
Date: 2 May 2006 03:10:13
Message: <445705d5@news.povray.org>
"Mr Seb" <ban### [at] wanadoofr> schreef in bericht
news:4455d375$1@news.povray.org...
> yes.
>
> the operator OR is |
> The operator AND is &
>
> And the operator Not egal is != (this can be useful)
>

====> not forgetting: paragraph 3.2.1.3.3. of the POV-Ray documentation!!!

Thomas


Post a reply to this message

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