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] ======================================================================
