At 10:12 1/17/01 -0500, you wrote: >I have had to write this kind of code over and over, and was wondering if >there is a better way like in c++, where it does lazy evaluation. > >This is what I want: > ><CFIF isDefined("somevar") AND somevar IS "something"> > do something ></CFIF> I think this should work? I think I've used this before... Or maybe I'm just nuts. I think you have to be on 4.5, 4.0 won't do it. R ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
- RE: Short Circuit Evaluation Jennifer
- RE: Short Circuit Evaluation Aaron Johnson
- calling a cfm script into a html page Olivier Moulene
- RE: calling a cfm script into a html page Russel Madere
- RE: calling a cfm script into a html page Russel Madere
- Re: calling a cfm script into a html page Kevin Schmidt
- RE: calling a cfm script into a html page Warrick, Mark
- RE: calling a cfm script into a html page ron
- RE: Short Circuit Evaluation Dan G. Switzer, II
- RE: Short Circuit Evaluation Ryan
- RE: Short Circuit Evaluation Russel Madere
- RE: Short Circuit Evaluation JustinMacCarthy
- RE: Short Circuit Evaluation Tim Painter
- RE: Short Circuit Evaluation Aaron Johnson
- Re: Short Circuit Evaluation Eric Dawson
- RE: Short Circuit Evaluation Duane Boudreau
- RE: Short Circuit Evaluation Eric Dawson
- RE: Short Circuit Evaluation Raymond B.
- RE: Short Circuit Evaluation Jennifer
- RE: Short Circuit Evaluation Ruslan Sivak