Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible Bug
Message
 
 
To
15/11/2001 12:20:21
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00582199
Message ID:
00582310
Views:
21
Yes, FULLPATH() returns strange result in VFP 7 in this case. Still, I don't understand why are you checking for file named "Test File.txt" (with quotes) when the actual file name doesn't have quotes in it?

>This little guy popped up in my APP launcher when I recompiled with VFP7:
>
>
>local lcFileName
>
>if !directory("Fullpath Bugtest")
>	mkdir "Fullpath Bugtest"
>endif
>
>set default to "Fullpath Bugtest"
>if !file("Test File.txt")
>	strtofile("This is a test","Test File.txt")
>endif
>
>lcFileName = chr(34)+"Test File.txt"+chr(34)
>clear
>
>? "Original Filespec: "+lcFileName
>? "Filespec with FULLPATH: "+fullpath(lcFileName)
>
>set default to ".."
>
>Run this in VFP7 and VFP6, SP5 and the results are different.
>
>VFP6, SP5 Version 06.00.8961.00
>VFP7 Version 07.00.0000.9262
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform