next up previous contents
Next: .PAGE Record Up: INPUT FILE DESCRIPTION Previous: .TITLE Record   Contents

.INC Record

A CCICAP input file can refer to other files by use of the INClude record. The structure of the INClude record is:

.INC filename

where 'filename' is the name of an existing file which is to be included in the input file. The filename is not quoted. The filename may include path information. The records of the named file are logically added in place of the INC record. This feature is useful for adding often used models, control records, standard decades, circuit alteration records, etc. The items may be described in files by themselves and referred to by any number of different input files.

INCluded files may contain .INC records referring to additional INClude files as long as the resulting input file is correct. After an included file is processed control returns to the calling file at the record following the .INC record. The depth of nesting of INClude files is limited by the number of files which may be open at any one time.

Examples:

* include contents of file '/home/models/op21.mdl' here.

.INC /home/models/op21.mdl

.INClude lpf.ckt * include contents of file 'lpf.ckt'.

* include contents of file op270.mdl located in the parent directory.

.INC ../op270.mdl


next up previous contents
Next: .PAGE Record Up: INPUT FILE DESCRIPTION Previous: .TITLE Record   Contents
Bob Smither 2008-11-19