Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Negative bytes?
Message
De
04/06/2008 05:28:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/06/2008 18:15:40
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01321080
Message ID:
01321522
Vues:
20
>So... 35 variables, 31 bytes used for their definitions? Variable names with negative length, then? ;) Or did you mean only the space used by variables' content - but then, at least a few of them were numeric, using at least 4 bytes (though I think VFP's numbers are in IEEE format, which is 8 bytes). Again, either some of them were using negative bytes, or had negative lengths... or this is a tiny little bug.

I mean space used by content and when that content is a reference type. I don't know the details of how foxpro counts it but looks like it doesn't count value types (maybe doesn't count until a prealloacted memory space is filled?). When it's a reference type it allocates more than needed bytes (so using some space for extra info, length, memhandle...?).

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform