POV-Ray : Newsgroups : povray.general : Why does POV always evaluate both expressions with a '&'? : Re: Why does POV always evaluate both expressions with a '&'? Server Time
7 Aug 2024 17:29:38 EDT (-0400)
  Re: Why does POV always evaluate both expressions with a '&'?  
From: Ron Parker
Date: 27 Sep 2001 17:39:31
Message: <slrn9r774l.2up.ron.parker@fwi.com>
On Thu, 27 Sep 2001 17:23:20 -0400, Thorsten Froehlich wrote:
>In article <m34### [at] michariser> , Micha Riser <mri### [at] gmxnet>  
>wrote:
>
>> That still leaves the question open if other people are unhappy as well
>> with the current evaulation type.
>
>Well, you are the first person I know who complained about it.  And AFAIK
>the logic operations have been in POV-Ray since 3.0, which came out about
>five years ago...

I think it's a moot point, as I'm not sure the expression parser could be
rewritten to do the short-circuit behavior without a bit of pain.

-- 
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

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