cfscript equivalent for cfexit?

34 views
Skip to first unread message

Travis Peters

unread,
Dec 19, 2016, 11:35:13 AM12/19/16
to Lucee
Is there a way to stop processing of a template within cfscript or is <cfexit> the only way to do this?

Mark Drew

unread,
Dec 19, 2016, 11:38:45 AM12/19/16
to lu...@googlegroups.com
exit; ?



Mark Drew

CMD
develop • deploy • deliver

On Dec 19, 2016, at 4:35 PM, Travis Peters <w.travi...@gmail.com> wrote:

Is there a way to stop processing of a template within cfscript or is <cfexit> the only way to do this?

-- 
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/389ef193-282e-4f83-a71c-7336af35106b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Julian Halliwell

unread,
Dec 19, 2016, 11:43:04 AM12/19/16
to lu...@googlegroups.com
<cfexit> is specifically for custom tags. To stop processing a
template, I'd just use

abort;

Travis Peters

unread,
Dec 19, 2016, 11:44:24 AM12/19/16
to lu...@googlegroups.com
That did it.  Not sure why I thought that was a function. It's been a while.

Travis Peters

--
You received this message because you are subscribed to a topic in the Google Groups "Lucee" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/phL7tKrnaRc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+unsubscribe@googlegroups.com.

To post to this group, send email to lu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages