1. Re: Short Circuiting
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Jun 24, 1998
- 607 views
Robert wrote: > And here's a real solution. :) > > if match("EOF", s) = 1 then > [alpha] > else > [gamma] > end if I agree. However, I wasn't after a *specific* solution to the problem, as much as trying to make a point as WHY people might like to use short-circuiting. I still hold to my initial assertion: the need to do bounds checks before checking values could be eased by "safer" routines. But as your example shows, perhaps I've been to myopic on how this could be accomplished with existing functionality. -- David Cuny