next up previous contents
Next: Miscellaneous commands Up: File I/O Previous: PostScript printing

Executing command files

 

runcmd Run a command file
<cmdfile> name of the macro file
[<parameters>] parameters for the macro
<cmdfile> Run <cmdfile>
[<parameters>] parameters for the macro

runcmd executes a command file. The first parameter is the name of the macro file. Macros are first searched from the path defined with the environment variable NDA_MACRO_PATH and then from the current directory.

You can pass arguments to the macros. They should be given as a blanco separated list after the macro name. For instructions on the use of these arguments within the macro, see section 1.4.



Anssi Lensu
Wed Oct 6 12:57:48 EET DST 1999