Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP3.0: DISKSPACE()
Message
From
01/08/1997 22:13:15
 
 
To
01/08/1997 21:55:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00042857
Message ID:
00042860
Views:
28
This is weird! I think I heard about other problems with DISKSPACE(), but sure not this. The only advise I can give is to use my DriveInfo class (you can download it from the Files section, "Classes-VCX" category). It solves this problem at Win32API level.

Vlad

>Hi I have a strage problem
>I have a program with this lines...
>
>...
>SET DEFAULT TO A:
>discosize = DISKSPACE()
>SET DEFAULT TO C:\ops
>IF discosize < 1440000
>...
>
>when I see some variables in debug windows the result is:
>carloshead 2184
>carlossize 290239
>totaldiscos 1
>numrecs 6153
>I 2
>discosize 1167872.000000000000...0000 (total 35 0)
>
>then the line
>
>IF discosize < 1440000
>
>always is false
>when I evaluate in command window the expresion
>
>discosize = DISKSPACE()
>the result is
>discosize 1167872
>
>someone know why in my program the result is so extrange
>and why the IF always is false
>thanks...
Previous
Reply
Map
View

Click here to load this message in the networking platform