HP 3000 Manuals

Macro File Processing [ VIRTUOSO CODE GENERATOR Reference Manual ] MPE/iX 5.0 Documentation


VIRTUOSO CODE GENERATOR Reference Manual

Macro File Processing 

To process a Source Macro File, issue a file equation with the Source
Macro File equated to GENTEXT. Then run the generator with MACROPROC=ON
specified in the INFO string.  This tells the generator that it is
processing a Source Macro File and should produce a Processed Macro File.
Figure 4-1 illustrates Source Macro File processing.

[]
Figure 4-1. Source Macro File Processing When the generator is run to process a Source Macro File it checks that each macro name is unique within the Source Macro File and checks that each macro is surrounded by the #macro and #endmacro constructs. Further syntax checking is done when the macro is invoked. Refer to Chapter 5 for more information on processing the Source Macro File. If you later modify or add any macros to the Source Macro File, the file must be re-processed by the generator. Otherwise, the Processed Macro File will not reflect the changes to the Source Macro File.


MPE/iX 5.0 Documentation