HP 3000 Manuals

FONT [ HP Pascal/iX Reference Manual ] MPE/iX 5.0 Documentation


HP Pascal/iX Reference Manual

FONT 

FONT is a System-Dependent MPE/iX Option.

The FONT compiler option specifies primary and secondary character sets
to be used in the title and comments in the listing (provided that the
printer supports multiple fonts, as the HP268x laser printers do.)

Syntax 

     $FONT string$

Parameter 

string        Is of the form:

                   'primary_font,secondary_font'

              Where:

              primary_font  Is an unsigned integer that sets the number
                            for the primary font.

              secondary_fontIs an unsigned integer that sets the number
                            for the secondary font.

Default       Not applicable.

Location      Anywhere.

To change fonts within the string_literal parameter of the TITLE option,
or within a comment, shift to the secondary character set with CONTROL N.
Shift back to the primary character set with CONTROL O.

Example 

Assume that font 5 is this font in the environment file.

     $
     FONT '0,5'$
     $TITLE 'Dptcore. CONTROLNPort Data DefinitionsCONTROLO'$
        .
        .
        .
     PROCEDURE Proc1;  {This is the CONTROLNfirstCONTROLO procedure}
        .
        .
        .

The listing prints the title and comment shown above this way:

     Dptcore. Port Data Definitions 
     {This is the first procedure}



MPE/iX 5.0 Documentation