On most CNC machines you can have multiple programs loaded up (registered) in the control at the same time and a sub call is really just calling another program. So it is easy to keep any commonly used subs loaded in the control all the time and just call them when you need to.
With the way the sub call and definition works on EMC the subs have to be in the file with the program that calls them. This makes it harder make changes to a sub that may be used by multiple programs. Has anyone considered adding an O word such as? O- include [path/file] So that common subs may be maintained in libraries and used buy any program that needs them. ____________ Andre' B. __________ Andre' B. Clear Lake, Wi. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
