Microsoft KB Archive/60964

= NO87 Environment Variable Echoed to Screen When Run =

Article ID: 60964

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft QuickBasic 2.0
 * Microsoft QuickBasic 4.0
 * Microsoft QuickBASIC 4.0b
 * Microsoft QuickBasic 4.5 for MS-DOS
 * Microsoft BASIC Compiler 6.0
 * Microsoft BASIC Compiler 6.0b
 * Microsoft BASIC Professional Development System 7.0
 * Microsoft BASIC Professional Development System 7.1

-



This article was previously published under Q60964



SUMMARY
The QB.EXE and QBX.EXE environments echo to the screen the string stored in the environment variable NO87. This is to notify you whether or not the math coprocessor (if one exists) will be used by these environments in floating-point calculations. NO87 must be set to null if the coprocessor is to be used; any other string value prevents QuickBasic or Basic Professional Development System (PDS) from using the coprocessor. To set the NO87 environment variable, execute the following statement from the MS-DOS command prompt:

set NO87=[string-expression]

Note: Enter  only if the coprocessor is not to be used.

This information applies to Microsoft QuickBasic versions 4.0, 4.0b, 4.5 for MS-DOS, to Microsoft Basic Compiler versions 6.0 and 6.0b for MS-DOS, and to Microsoft Basic PDS versions 7.0 and 7.1 for MS-DOS. Furthermore, .EXE files compiled in all Microsoft languages that use an IEEE emulation math package (Basic, C, Pascal, FORTRAN) will exhibit the same behavior when run.

For example, enter the following at the MS-DOS command prompt:

set NO87=OFF

Then run QB.EXE (or QBX.EXE). The word &quot;OFF&quot; will be displayed on the next line.

Additional query words: QuickBas BasicCom 4.00 4.00b 4.50 6.00 6.00b 7.00 7.10

Keywords: KB60964

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.