Q59289: BASIC 7.00 ISAM Cannot Store Single-Precision Numbers
Article: Q59289
Product(s): See article
Version(s): 7.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_basic
Last Modified: 2-MAR-1990
When using the ISAM file-handling feature of Microsoft BASIC
Professional Development System (PDS) Version 7.00 for MS-DOS, you
cannot use a single-precision variable in the TYPE ... END TYPE record
structure. To store real numbers (numbers with a decimal point), you
must use a CURRENCY or a double-precision variable. (You may also use
an INTEGER and a LONG integer if you do not need a number with a
decimal point.)
This is not a software problem, but is a design limitation of BASIC
PDS 7.00.
For more information on this topic, see Pages 333-334 of the
"Microsoft BASIC 7.0: Programmer's Guide."
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.