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.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213025
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to