BC.EXE Will Not Compile Files Named USER.*

ID: Q40547


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0
  • Microsoft QuickBASIC for MS-DOS, versions 4.0, 4.0b, 4.5
  • Microsoft BASIC Compiler for MS-DOS and MS OS/2, versions 6.0, 6.0b
  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2, version 7.0


SUMMARY

The Basic compiler (BC.EXE) will not compile any source file with a name of USER.* (e.g. USER.BAS, USER.TXT, etc.). Instead, it will take input from the console and report any errors on each line as they are entered. BC.EXE will create an object file only if a name other than USER.OBJ is specified.

The filename USER is a special filename reserved for compiling files that are entered directly from the console instead of from a file. Thus, if you have a file that is named USER.BAS, BC.EXE will not compile it.

To work around this limitation, rename your Basic file to something other than USER.BAS.

Additional query words: VBmsdos QuickBas BasicCom 1.00 4.00 4.00b 4.50 6.00 6.00b 7.00

Keywords :
Version : MS-DOS:1.0,4.0,4.0b,4.5; :6.0,6.0b,7.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.