On 08/09/2010 11:20 AM, Igor Chudov wrote: > I started writing some G code subroutines and I would like to know if > there is a include directive (like #include in C)whereby I can #inlude > library files. >
I think there's nothing that's just like #include, but there's something sort of similar. You can call subroutines that are in other files, using the "o<> call" syntax: <http://www.linuxcnc.org/docs/2.4/html/gcode_main.html#r3_7> Variables in the called file are local to the called file, they do not become available in the caller after the call returns. -- Sebastian Kuzminsky sky is black / stars show me the way moon whispers how to keep my faith ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users