HP 3000 Manuals

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


HP Pascal/iX Reference Manual

MLIBRARY 

MLIBRARY is an HP Pascal Option.

The MLIBRARY compiler option specifies the file into which the compiler
puts a compiled module definition, instead of putting it in the object
file.  The file specified here can then be used in a SEARCH option (see
"SEARCH").  Program comments must not be written on the same line as
$MLIBRARY.

Syntax 

     $MLIBRARY string$

Parameter 

string        Specifies the name of the file into which the compiler
              writes the module definition.

              If the file exists, it must be an external library
              (otherwise, it is an error).  If the file is an external
              library, the compiler updates the module definition in the
              file.

              If the file does not exist, the compiler creates a new file
              with the specified name.

Default       Compiled module definition goes into the object file.

Location      Anywhere.

Example 

     $MLIBRARY 'xmodule'$
     MODULE x;
        EXPORT
           .
           .
           .
        IMPLEMENT
           .
           .
           .
     END.



MPE/iX 5.0 Documentation