Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(2023) - Temporary Path
Message
 
 
To
30/01/2007 19:18:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
01190705
Message ID:
01191214
Views:
11
>Addbs()? Why?

Habit, given the example provided.

>
gtmpfile=forcepath(forceext(sys(2015),"tmp"),sys(2023))
>
>I haven't used addbs() in years - forcepath() is my friend, and it doesn't care about backslash being there or not. I generally trust these two functions more than my own putting a filename together.

But that multi-nested function call is, IMO, more difficult to read. When the purpose is to make sure there's a backslash on a string, AddBS() seems clearer to me.

You say tomato, I say.... <s>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform