And to translate that to a cfc file, it would be a throw function, I presume 
private, that can then be called.  Since my brain is barely turning over today, 
there is no issues with this idea right?


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

....-----Original Message-----
....From: Barney Boisvert [mailto:[EMAIL PROTECTED]
....Sent: Wednesday, July 27, 2005 10:41 AM
....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.
....
....

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213027
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