Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR returns a negative number for filesize
Message
De
04/09/2004 18:06:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/09/2004 17:45:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00939494
Message ID:
00939497
Vues:
13
>Hi All,
>
>In the case of a file that's more than 2Gig, ADIR() returns a negative filesize. The size is 2.451.450.455 and adir() says it's -1843516841.
>
>Maybe there's an algorithm that I can use to convert that negative number? Or can I use some API call?

How about 4294967296 + claimed (negative) size? Using arithmetic addition, of course.

4294967296 is 2^32.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform