CF9? If so, use abort;

On Fri, Jan 29, 2010 at 9:07 AM, Chad Gray <cg...@careyweb.com> wrote:
>
> I have some CFScript running and each time I set a variable I run a function 
> to check if there is an error.
>
> If there is an error I would like to “CFAbort” the scripting so it does not 
> continue.  Can you abort the rest of the script if the error function is 
> called?  I tried break; in the function, but that does not seem to work.
>
> Kinda like this

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330258
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to