That is right. The reason why I use this method
of entering X & Y co-ordinates is because I
get alot of manually drawn prints where holes 
are dimension from the previous hole.
 
It is very easy to type #X1+4.356 and press
enter and then type #Y1-3.4421 and press enter.
You can even type -#X1 if you have a mirror
dimension of #X1. 
Then you can do something like #X1+#X2+3

Anyhow to make a long macro short, I tried entering
a wrong value as per suggested below and it bombs!
It's pretty but I'll use that method.

Thanks again for the support.


-----Original Message-----
From: Lauzus, Frederick [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 11:08 AM
To: Dave Hayden
Cc: [EMAIL PROTECTED]
Subject: [mfg-smartcam] RE: Use GOTO to Exit a mcl ?


Having some exposure to v4.51, I believe Michael was
referring to a method to abort the macro execution during
the input of the variable values in the default prompts.

With the later versions you can't get rid of the default
prompt until you enter a valid value. A typical example
would be if you realized you just entered the wrong value
at the previous prompt and you know the macro will fail.
You want to abort but instead are forced to enter in
additional values until the macro errors.
In the older DOS version you could simply hit ESC and the
macro would terminate.

=============================================
 Fred Lauzus, CAM Programming Coordinator
 High Steel Structures, Incorporated
 mailto:[EMAIL PROTECTED] http://www.highsteel.com
=============================================
 


-----Original Message-----
From: Dave Hayden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 10:58 AM
To: Lauzus, Frederick
Cc: [EMAIL PROTECTED]
Subject: Use GOTO to Exit a mcl ?


To exit with out any additional prompts.  Create a label at the end of your
macro       @endmac      or something like that
then use a   goto(endmac)       inside the if test.  That will take you to
the
end of the macro.

David





Working on converting my SC 4.5  macros to SC 11.5 mcl files.
So far so good...

The problem I'm having with this mcl file is at the end, where I prompt for
the XS= and YS= co-ordinates.

In the SC 4.5 mac file all I had to do to end the macro was hit the Esc key.

How do I accomplish this in the above mcl without adding any extra prompts
to carry
on or exiting?


Regards,

Michael Senack, X354
Your local friendly neighborhood CNC Programmer


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



======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================
======================================================================
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