I am writing a macro that uses the variable #tool to represent a tool
number used to generate some cutter path. At the end of the macro, I clear
the variable the old way: #tool=1000000. I don't like to use VAR_REMOVE_ALL
[ ] because it doesn't allow repeated use of a .pcb panel; you would have
to re-type all of your input on the panel each time you use it.
Anyway, with the variable "cleared" the old way, I get an "Invalid step
number" error if I try to repeat the usage of the macro because the
variable #tool now equals 1000000, which of course is not a valid tool
number. I always thought that 1000000 represents a null value rather than
an actual value in Smartcam. What gives?

Chris Kocourek
CNC Department Manager
Flextronics Enclosures, Inc.



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