Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SYS(2023) - Temporary Path
Message
 
 
À
30/01/2007 19:18:34
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
01190705
Message ID:
01191214
Vues:
10
>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>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform