KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q37340: MS-DOS QuickBASIC 4.00 Differs from XENIX BASIC Compiler 5.70

Article: Q37340
Product(s): See article
Version(s): 4.00 4.00b 4.50
Operating System(s): MS-DOS
Keyword(s): ENDUSER | B_BasicCom | mspl13_basic
Last Modified: 5-SEP-1990

This article compares Microsoft BASIC Compiler versions 5.70 and 5.70a
for XENIX 286 to the following compilers:

1. Microsoft QuickBASIC versions 4.00, 4.00b, 4.50 for MS-DOS

2. Microsoft BASIC Compiler versions 6.00 and 6.00b for MS-DOS

Microsoft BASIC Compiler for XENIX 286 provides a library for ISAM
file handling that is not available with the above Microsoft BASIC
compilers for MS-DOS.

Microsoft BASIC Professional Development System (PDS) versions 7.00
and 7.10 provide ISAM file support under MS-DOS (and under MS OS/2 in
BASIC 7.10). BASIC PDS 7.00 and 7.10 offer additional features beyond
those found in 6.00 and 6.00b.

The BASIC compilers for MS-DOS have a graphic capability not found in
the XENIX BASIC compiler.

Compilers under both XENIX and MS-DOS have SUB...END SUB structures
for defining subprograms, which can be called with the CALL statement.

Note: All support and upgrades for Microsoft BASIC Compilers and
Interpreters for XENIX have been assumed by SCO (the Santa Cruz
Operation). For more information on XENIX BASIC and SCO, query on the
following words:

   SCO and XENIX and BASIC and support

The list below outlines commands that differ between the BASIC
compiler for XENIX versus the BASIC products for MS-DOS.

An asterisk (*) marks words that are reserved, but not functionally
implemented in the compiler.

Reserved words in Microsoft BASIC Compiler version 6.00b for MS-DOS or
QuickBASIC version 4.50 that are not found in Microsoft BASIC Compiler
version 5.70a for XENIX are as follows:

   ACCESS      ALIAS       ANY         BEEP      BINARY
   BLOAD       BSAVE       BYVAL       CASE      CDECL
   CIRCLE      CLNG        COLOR       COM       COMMAND$
   CONST       CSRLIN      CVDMBF      CVSMBF    DECLARE
   DEFLNG      DO          DOUBLE      DRAW      ELSEIF
   ENVIRON     ENVIRON$    ERDEV       ERDEV$    EXIT
   FILEATTR    FREEFILE    FUNCTION    INP       INTEGER
   IOCTL       IOTCL$      IS          KEY       LCASE$
   * LIST      LOCAL       LONG        LOOP      LTRIM$
   MKDMBF$     MKL$        MKSMBF$     OFF       OUT
   PAINT       PALETTE     PCOPY       PEN       PLAY
   PMAP        PRESET      PSET        RANDOM    REDIM
   RTRIM$      SCREEN      SEEK        SEG       SELECT
   SETMEM      SHARED      SIGNAL      SINGLE    SLEEP
   SOUND       STATIC      STICK       STRING    TYPE
   UCASE$      UNTIL       VARPTR$     VARSEG    VIEW
   WINDOW

Reserved words in Microsoft BASIC Compiler version 5.70a for XENIX
that are not reserved in Microsoft BASIC Compiler version 6.00b for
MS-DOS or QuickBASIC version 4.50 are as follows:

   * DELETE
   * EDIT
   * USR

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.