Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QBasic Random Data Files
Message
From
26/12/2000 16:55:32
 
 
To
26/12/2000 08:44:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00456801
Message ID:
00456926
Views:
22
Hi, Ronald.

Integers are easy. Just take the two bytes, multiply the first by 256 and add the second. Same thing for longs. Floating point values are stores as base and mantissa. Just let me remember how it was. If I found a Basic at home tonight maybe I can do it.

Til tomorrow!


>I have a project that I am working on converting a QBasic or Quick Basic program to VFP. The data files that are used are saved as random data files, so the numeric data is unreadable to VFP. I have found out that the numeric data is saved in this format:
>
> I = integers - stored as 2 bytes
> S = Single Precision - stored as 4 bytes
> D = Double Presision - stored as 8 bytes
> L = Long Integers - stored as 4 bytes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform