Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QBasic Random Data Files
Message
 
To
26/12/2000 08:44:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00456801
Message ID:
00456817
Views:
25
>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
>
>Need some help with functions or routines to convert these into something that is readable to VFP so that I can save them into tables, has anyone done this before?
>
>Thanks in advance.
>Ron


I don't totally remember the quickbasic time, but don't it work if you simply split the string into known parts, and then convert it.
if you don't know what way the data is stored, you can set up some test data, with some numeric values, and recover the coding from there.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform