Microsoft KB Archive/59289

= VB & Basic PDS ISAM Cannot Store Single-Precision Numbers =

Article ID: 59289

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Visual Basic for MS-DOS
 * Microsoft BASIC Professional Development System 7.0

-



This article was previously published under Q59289



SUMMARY
When using the ISAM file-handling feature of the Professional Edition of Microsoft Visual Basic for MS-DOS, versio 1.0 or Microsoft Basic Professional Development System (PDS) for MS-DOS, version 7.0, 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 Microsoft Visual Basic for MS-DOS and Microsoft Basic PDS.

For more information on this topic, see Pages 333-334 of the &quot;Microsoft Basic 7.0: Programmer's Guide.&quot;

Additional query words: VBmsdos BasicCom 1.00 7.00

Keywords: KB59289

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.