Fred,

I can't think of a way from within the code generator to terminate a
coding session.  The best I can come up with is to use the @CYCLCHG
section.  This section if present is called as a precursor to every other
section call. So having something like:

@CYCLCHG
#IF(#myError=1)<#EXIT>
@

Would at least return immediately and keep your CG clean.

--gregg

"Lauzus, Frederick" wrote:

> Does anyone know how to kill a code generator?
>
> Before they come to lock me up, let me explain.
> I'm building in some automatic error checks into
> the template file such as checking for axis over
> travel, excessive spindle speeds, etc. Once a
> error condition is found, is there a simple way
> to stop generating code at that point?
>
> What I'm looking for is one of those happy little
> accidents where someone finds a bug (a.k.a.
> undocumented feature) that they can actually make
> good use of.
>
> Anybody have such luck?
>
> =============================================
>  Fred Lauzus, CAM Programming Coordinator
>  High Steel Structures, Incorporated
>  mailto:[EMAIL PROTECTED] http://www.highsteel.com
> =============================================
>
>
> ======================================================================
> To find out more about this mailing list including how to unsubscribe,
> send the message "info mfg-smartcam" to [EMAIL PROTECTED]
> ======================================================================

--

Gregg Olson
Development Manager
SDRC CAM Products


======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to