Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why ADDBS puts extra backslash
Message
From
16/04/2007 23:07:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Why ADDBS puts extra backslash
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01216579
Message ID:
01216579
Views:
66
Hi friends
according to help file ADDBS does not duplicate if one does exist(ie. backslash).
my following code returns 2 backslashes ! am i doing anything wrong here ?

LOCAL lctmp
m.lctmp = ALLTRIM(FILETOSTR('Network.txt')) && this has c:\windows\
m.lctmp = ADDBS(m.lctmp)
MESSAGEBOX("temp version " + lctmp ) && this displays c:\windows\\
Next
Reply
Map
View

Click here to load this message in the networking platform