And another way that works with ngcgui (files tst2.ngc,1.ngc,2.ngc must be in [RS274NGC]SUBROUTINE_PATH)
$ cat tst2.ngc o<tst2> sub #<partno> = #1 (=1 partno) #<value> = #2 (=123) o#<partno> call [#<value>] o<tst2>endsub $ cat 1.ngc o1 sub #<thevalue> = #1 (debug, this is part1 value=#<thevalue>) o1 endsub $ cat 2.ngc o2 sub #<thevalue> = #1 (debug, this is part2 value=#<thevalue>) o2 endsub -- Dewey Garrett ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users