Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP3.0: DISKSPACE()
Message
From
01/08/1997 21:55:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP3.0: DISKSPACE()
Miscellaneous
Thread ID:
00042857
Message ID:
00042857
Views:
58
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...
Next
Reply
Map
View

Click here to load this message in the networking platform