Q35653: ERDEV & ERDEV$ "Advanced Feature" Error in OS/2 Protected Mode
Article: Q35653
Product(s): See article
Version(s): 6.00 6.00b 7.00 7.10 | 6.00 6.00b 7.00 7.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | docerr | mspl13_basic
Last Modified: 8-JAN-1991
The statements ERDEV and ERDEV$ give the run-time error message
"Advanced Feature Unavailable" when compiled and run in OS/2 protected
mode because these functions are set by DOS interrupt 24H, which is
not available in OS/2 protected mode.
ERDEV and ERDEV$ are not supported in OS/2 protected mode. This
restriction should be added to Page 40 of the "Microsoft BASIC
Compiler 6.0: User's Guide" for Versions 6.00 and 6.00b and to Page
520 of the "Microsoft BASIC 7.0: Programmer's Guide" for Microsoft
BASIC Professional Development System (PDS) Versions 7.00 and 7.10.
Code Example
------------
I% = ERDEV
A$ = ERDEV$
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.