Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Addbs adds no backslash
Message
From
23/10/2006 11:50:38
 
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01163916
Message ID:
01163920
Views:
8
I suspect this is the intended behavior. ADDBS() only adds a bs if there is none at the end of the path. If there is no path. there is nothing for it to check, hence it exits without adding anything.

>I have noticed that addbs() does not add a backslash if given an empty path. I'd expect a backslash even in that case, creating a reference to the root! I can't imagine that this was done by design. Who's at vault?
Previous
Reply
Map
View

Click here to load this message in the networking platform