nlPrintHeader
nlPrintHeader(
o_formatter
)
=> t / nil
Description
This method writes the beginning comment, adds .GLOBAL, and prints header comments.
Arguments
Value Returned
Examples
The following example prints the header comments:
defmethod( nlPrintHeader ((formatter nlAnalogFormatter)) let( ((netlister nlGetNetlister(formatter))) nlPrintString( netlister (nlGetOption netlister 'begComment)) nlPrintString( netlister "\n") nlPrintString( netlister ".GLOBAL") foreach( glob setof( x (nlGetGlobalNets netlister) (nequal x "gnd!")) nlPrintString(netlister " ") nlPrintString( netlister (nlMapGlobalNet netlister glob))
)
nlPrintHeaderComments( formatter)
nlPrintString(netlister "\n")
=> t
)
)
Return to top