Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FEOF() always returns True
Message
De
08/09/2004 12:54:58
 
 
À
08/09/2004 04:58:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00939501
Message ID:
00940333
Vues:
19
>>> The VFP diskspace() function only works fine for drive letters.
>>
>>Since when? I have quite a few VFP6 apps still running that use UNC names just fine with DISKSPACE().
>
>Fred, thanks for correcting me!
>
>Diskspace() indeed gives results on UNC names. It was another drawback that forced me to write an alternative routine. On very large drives (either network or local) it returns the result in scientific notation. E.g. 1,158E+11 instead of 115818102784. This result can, of course, be used in displays and comparisons, but it is only an approximation of the real value. There's also a remark about it in the helptext.
>In many situations this drawback is of only minor importance. In my situation it is important, however.
>
>I'll correct my documentation of the alternative function immediately. ;)

No problem. I round my results off to the nearest 1/10 of a GB anyways. Works fine on our 1.5 TB (Terra Byte) server.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform