extrude: and endext:

Function:

These macros are used to output one or more lines of ratmac source code to a named file. This file is then available for inclusion using the include: macro. The extrude: macro initiates the file 'extrusion' and the endext: closes the extruded file. These macros cannot be nested but can be used sequentially and within included files.

Syntax:

extrude:(name)
endext:

name is an abbreviated or generic form of the included filename. The 'device' and 'extension' parts of the filename are appended to the 'name' depending on how the inc: macro is defined.

Example:

extrude:(XXCOMN)#     generate a file named XXCOMN
statements   <<<<<<<<<	inserted into the file XXCOMN
endext:#              close file named XXCOMN