Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
QBasic Random Data Files
Message
 
 
À
26/12/2000 08:44:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00456801
Message ID:
00456926
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform