Re: Call to * Might be short circuited ?
- Posted by Philip Deets <philip1987 at hotmail.com> Aug 03, 2004
- 511 views
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