Re: Call to * Might be short circuited ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

irv mullins wrote:
> 
> irv mullins wrote:
> > 
> > don cole wrote:
> > > 
> > > What does this mean?
> > >  
> > 
> > <font color="#330033"></font>
> > <font color="#0000FF">if </font><font color="#330033">this_func() = 1
> > </font>
> > <font color="#0000FF">and </font><font color="#330033">that_func() = 2
> > </font><font color="#0000FF">then </font>
> > <font color="#330033"></font>
> 
> Oops: I guess that should be 
> <font color="#330033"></font>
> <font color="#0000FF">or </font><font color="#330033">that_func() = 2
> </font><font color="#0000FF">then</font>
> <font color="#330033"></font>
> 
> Irv
> 

Either way could be short circuited.  If <font
color="#330033">this_func()</font> would indeed equal
<font color="#330033">1</font>, the <font color="#0000FF">or</font> version
would be short circuited.

However, if <font color="#330033">this_func()</font> would not equal
<font color="#330033">1</font>, the <font color="#0000FF">and</font> version
would be short circuited.

Phil

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu