VMS Help  —  BASIC  /OBJECT
   The /OBJECT qualifier causes the compiler to produce an object module, and
   optionally specifies its file name.

   The format of the /OBJECT qualifier is as follows:

      /[NO]OBJECT[=file-spec]

   By default, the compiler generates object files as follows:

    o  If you specify one source file,  the  compiler  generates  one  object
       file.
    o  If you specify multiple source files  separated  by  plus  signs,  the
       compiler appends the files and generates one object file.
    o  If you specify multiple source files separated by commas, the compiler
       compiles and generates a separate object file for each source file.
    o  You can use both plus signs and commas in the  same  command  line  to
       produce different combinations of appended and separated object files.

   To produce an object file with an explicit file  specification,  you  must
   use  the /OBJECT qualifier, in the form /OBJECT=file-spec.  Otherwise, the
   object file has the same name as its corresponding source file, and a file
   type  of  .OBJ.   All  other  file  specification attributes depend on the
   placement of the qualifier in the command.

   The /NOOBJECT qualifier suppresses the creation of an object file.  During
   the  early  stages  of  program  development,  you  may find it helpful to
   suppress the production of object files until your source program compiles
   without errors.

   The default is /OBJECT.
Close Help