Just curious... can a tag-based UDF be defined outside of a CFC? Last time I checked the answer seemed to be "no". Thanks Mark
-----Original Message----- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 1:41 PM To: CF-Talk Subject: Re: Throwing error inside a cfscript block. Write yourself a tag-based UDF named 'throw', and use that from inside CFSCRIPT. It's really quite horrible how incompatible CFSCRIPT and tags are. no throw in script, no continue in tags, no query or list loop in script, etc. At least throw is one that can be easily worked around. cheers, barneyb On 7/27/05, Ian Skinner <[EMAIL PROTECTED]> wrote: > Is there a way to throw an error from inside a cfscipt block equivalent to <cfthrow ...>? > > Or is this one of those errors where one can not use cfscript coding? > > > -------------- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > "C code. C code run. Run code run. Please!" > - Cynthia Dunning > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213032 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54