Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FEOF() always returns True
Message
De
08/09/2004 04:58:47
 
 
À
07/09/2004 18:41:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00939501
Message ID:
00940206
Vues:
20
>> 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. ;)
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform