> On Sunday, May 08, 2011 08:46:11 PM Joel Jacobs did opine: > >> Hi, >> Is this possible? I see a file called useful-subroutines.ngc im the >> example directory and I'm wondering how to use it. I found in the >> documentation where it talks about calling files but those files only >> have one subroutine in them and the useful-subroutines.ngc has >> several. So do I need to cut and paste from that file the subroutines >> I need or is there some way to just include the whole file at the end >> of my program? >> Thanks much, >> Joel >>
On 05/08/2011 07:47 PM, gene heskett wrote: > You cannot 'tag them on the end", Joel. A subroutine must be fully defined > in the ngc file above all calls to it. > Gene is correct. However, there is a nice loophole to that rule. A subroutine can also be "previously defined" in an external file. So if you have collected an assortment of handy subroutines, just break them up into individual subroutines and save them one-at-a-time in your nc_files directory. Then just call them in the usual way: o<subr_pocket3> [#<_width>] [#<_height>] [#<_depth>] Filenames can only use lowercase a-z, underscore, and dash. Other details in the "O word" section of the user manual. Kim ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
