1 Qualifiers The qualifiers for BASIC allow you to specify defaults for the compilation process and the BASIC environment. You can specify qualifiers with the COMPILE and SET commands. You can abbreviate all positive qualifiers to four letters. You can abbreviate negative qualifiers to NO and the first four letters of the qualifier keyword. Use the SHOW command to see the current qualifier defaults. Example COMPILE /LIST/DOUBLE Format command [ /qualifier ]... 2 ANSI_STANDARD Tells BASIC to compile programs according to the ANSI Minimal BASIC Standard and to flag syntax that does not conform to the standard. Format [NO]ANSI_STANDARD 2 AUDIT Tells BASIC to include a history entry in the CDD/Repository when a CDD/Repository definition is extracted. The history entry includes the contents of the text-entry, when specified. Format [NO]AUDIT [ { : } text-entry ] { = } text-entry: { str-lit } { file-spec } 2 BOUNDS_CHECKING Tells BASIC to perform range checks on array subscripts. BASIC checks that all array references are within the array bounds set when the array was declared. Format [NO]BOUNDS_CHECKING 2 BYTE Tells BASIC to allocate 8 bits of storage as the default size for all integer data not explicitly typed in the program. This lets you use integer values between -128 and 127, inclusive. Format BYTE 2 CROSS_REFERENCE Tells BASIC to include cross-reference information in the program listing file. If you specify KEYWORDS, BASIC also cross references BASIC keywords used in the program. Format [NO]CROSS_REFERENCE [ { : } [NO]KEYWORDS ] { = } 2 DEBUG Tells BASIC to provide records (local symbol definitions for symbol variables, arrays, and line numbers) for the OpenVMS Symbolic Debugger. Format [NO]DEBUG 2 DECIMAL_SIZE Lets you specify the default size and precision for packed decimal data not explicitly assigned a size and precision in the program. You specify the total number of digits (d) and the number of digits to the right of the decimal point (s). Format DECIMAL_SIZE (d,s) 2 DOUBLE Specifies that all floating-point data not explicitly typed in the program has 16 decimal digits of precision. Format DOUBLE 2 FLAG Tells BASIC to warn you about the use program elements that are not compatible with BASIC-PLUS-2 or Alpha BASIC, or that Compaq designates as declining. Format [NO]FLAG [ { : } ( flag-clause,... ) ] { = } flag-clause: { [NO]BP2COMPATIBILITY } { [NO]AXPCOMPATIBILITY } { [NO]DECLINING } /FLAG = ALL is the same as /FLAG = (BP2COMPATIBILITY, DECLINING, AXPCOMPATIBILITY). /FLAG = NONE is the same as /NOFLAG. The default is /FLAG = (NODECLINING, NOBP2COMPATIBILITY, NOAXPCOMPATIBILITY). 2 GFLOAT Specifies that all floating-point data not explicitly typed in the program has 15 digits of precision. Format GFLOAT 2 HFLOAT Specifies that all floating-point data not explicitly typed in the program has 33 digits of precision. Format HFLOAT 2 LINE Includes line number information in object modules. Format [NO]LINE 2 LIST Tells BASIC to produce a source listing file. By default, the listing file includes a memory allocation map. Format [NO]LIST 2 LONG Tells BASIC to allocate 32 bits of storage as the default size for all integer data not explicitly typed in the program. Format LONG 2 MACHINE_CODE Includes the compiler-generated assembly code in the program listing file. Format [NO]MACHINE_CODE 2 OBJECT Generates a linkable object module. This object module has the same file name as the source module and a default file type of OBJ. Format [NO]OBJECT 2 OVERFLOW Tells BASIC to report arithmetic overflow for operations on integer data and/or packed decimal data. Format [NO]OVERFLOW [ { : } ( data-type,... ) ] { = } data-type: { INTEGER } { DECIMAL } 2 ROUND Tells BASIC to round DECIMAL values. Format [NO]ROUND 2 SETUP Tells BASIC to make calls to the Run-Time Library that set up the stack for BASIC variables, set up dynamic string and array descriptors, initialize variables, and enable BASIC error handling. Use NOSETUP for short BASIC subprograms that use only numeric and fixed-length string operations. NOSETUP should be used ONLY on routines that have been thoroughly debugged and whose execution time is critical. Using BASIC I/O facilities in a routine compiled /NOSETUP is NOT SUPPORTED. Format [NO]SETUP 2 SHOW Tells BASIC what to include in the listing file: o CDD_DEFINITIONS specifies translated CDD/Repository definitions. o ENVIRONMENT specifies a listing of the compilation qualifiers in effect. o INCLUDE specifies a listing of the contents of %INCLUDE files. o MAP specifies a storage allocation map. o OVERRIDE cancels the effect of all %NOLIST directives in the source program. Format [NO]SHOW [ { : } ( show-item,... ) ] { = } show-item: { [NO]CDD_DEFINITIONS } { [NO]ENVIRONMENT } { [NO]INCLUDE } { [NO]MAP } { [NO]OVERRIDE } 2 SINGLE Specifies that all floating-point data not explicitly typed in the program has 7 decimal digits of precision. Format SINGLE 2 SYNTAX_CHECKING Tells BASIC to perform syntax checking after each program line is typed. Format [NO]SYNTAX_CHECKING 2 TRACEBACK Provides information for the debugger and error reporter so they can translate virtual addresses into source-program module names and line numbers. Format [NO]TRACEBACK 2 TYPE_DEFAULT Sets the default data type (REAL, INTEGER, or DECIMAL) for all data not explicitly typed in your program or specifies that all data must be explicitly typed (EXPLICIT). Format TYPE_DEFAULT { : } default-clause { = } default-clause: { REAL } { INTEGER } { DECIMAL } { EXPLICIT } 2 VARIANT Lets you specify a value for the lexical function %VARIANT. The %VARIANT function allows you to conditionally control program compilation. The %VARIANT function returns the value specified at compile-time with the COMPILE/VARIANT command or set with the SET command. Format VARIANT { : } int-const { = } 2 WARNINGS Tells BASIC to display warning and/or informational messages. Format [NO]WARNINGS [ { : } warn-clause ] { = } warn-clause: { [NO]WARNINGS } { [NO]INFORMATIONALS } 2 WORD Tells BASIC to allocate 16 bits of storage as the default size for all integer data not explicitly typed in the program. Format WORD