1 MODULA Invokes the VAX-11 MODULA-2 compiler to compile a Modula-2 compilation unit. This command is described in detail in the VAX-11 Modula-2 User's Guide. Format: MODULA file-spec 2 Parameters file-spec Specifies one VAX-11 MODULA-2 source program file to be compiled. If you do not specify a file type, the default file type MOD is used. 2 Qualifiers /CHECK (D) /NOCHECK Indicates whether the compiler should generate code to perform run-time checks for out-of-range array bounds and case labels. /CROSS_REFERENCE /NOCROSS_REFERENCE (D) Controls whether the compiler creates a cross-reference listing as part of the listing file. The default is /NOCROSS_REFERENCE, which does not create a cross-reference listing. This qualifier is ignored if no listing file is being generated. /DEBUG /NODEBUG (D) Controls whether the compiler makes local symbol table and traceback information available to the VAX-11 Symbolic Debugger and the run-time error-reporting mechanism. The default is /NODEBUG, which produces only traceback information. /LIST[=file-spec] /NOLIST Controls whether the compiler creates a listing file. If you issue the MODULA command from interactive mode, the compiler, by default, does not produce a listing file. However, if the MODULA command is executed from batch mode, /LIST is the default. In either case, the listing file is not automatically printed. You must use the PRINT command to obtain a line printer copy of the MODULA listing file. Note that the /LIST qualifier permits you to include a file specification for the listing file. If you omit the file specification, the compiler defaults to the name of the input source file, the default directory, and a file type of LIS. /TERMINAL /NOTERMINAL (D) Specifies whether the compiler displays information on its running version, the succession of the different compiler passes and the symbol files read. /NOTERMINAL is the default for interactive mode, /TERMINAL is the default for batch. /MACHINE_CODE /NOMACHINE_CODE (D) Specifies whether the listing file should include a representation of the machine code generated by the compiler. If no listing file is being generated, this qualifier is ignored. No machine code is generated if errors are detected in the source program. The default is /NOMACHINE_CODE. /OBJECT[=file-spec] (D) /NOOBJECT Controls whether the compiler creates an object module. The /NOOBJECT qualifier is useful when you want to test the source program for compilation errors. By default, /OBJECT is enabled; the compiler produces an object module with the same file name as the first source file and a file type of OBJ. This qualifier is ignored when compiling a definition module. /QUERY /NOQUERY (D) Specifies whether the compiler explicitly asks for the symbol files to be read in. By default, the compiler uses a standard strategy to lookup the neccessary symbol files. /SYMBOL_FILE[=file-spec] (D) /NOSYMBOL_FILE Controls whether the compiler creates a symbol file. By default, the compiler produces a symbol file for definition modules with the same file name as the source file and a file type of SYM. The compiler ignores this qualifier when compiling a program module.