next up previous contents index
Next: Documentation Up: User's macros Previous: Header of a Macro   Contents   Index

How to use user's macros

An user's macro being a Bourne shell script, you don't really need to compile it before to call it. But in order to be able to call it from any location, a link has to be created in a directory recorded in the path variable (which is $MEGAWAVE2/shell if you are the administrator, $MY_MEGAWAVE2/shell otherwise). In addition to that, the documentation must also be generated. Therefore, you should compile a user's macro as if it was a module, using cmw2.

mw 2004-05-05