Q57341: You Can CHAIN Only to an .EXE or .COM in BASIC PDS 7.00
Article: Q57341 Product(s): See article Version(s): 7.00 | 7.00 Operating System(s): MS-DOS | OS/2 Keyword(s): ENDUSER | SR# S891220-87 | mspl13_basic Last Modified: 14-JAN-1990 In Microsoft Basic Compiler Versions 6.00 and 6.00b and in QuickBASIC Versions 4.00, 4.00b, and 4.50 for MS-DOS, you can CHAIN to an executable file that does not have the extension .EXE, and it will not generate an error. In BASIC Professional Development System (PDS) Version 7.00 for MS-DOS and MS OS/2, the same executable file must have the extension .EXE or .COM to run without an error. If the CHAINed-to file does not have one of these two extensions, the error "Bad File Mode" is generated when the program is executed. This new extension checking is to help you CHAIN to files that are most likely meant to be CHAINed to.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.