VB & Basic PDS ISAM Cannot Store Single-Precision Numbers (59289)



The information in this article applies to:

  • Microsoft Visual Basic for MS-DOS
  • Microsoft Basic Professional Development System for MS-DOS 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 "Microsoft Basic 7.0: Programmer's Guide."

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB59289