Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADDLISTITEM and doublebackslash '\\'
Message
De
17/08/2001 10:24:30
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00544910
Message ID:
00545306
Vues:
13
>>Sergey,
>>
>>I guess you have found another error in the documentation then. When I run
>>lcFileName = "\\server\sharename\filename.txt"
>>?STRTRAN(lcFileName, "\", "\\")
>>
>>I get "\\\\server\\sharename\\filename.txt"
>>
>
>Hi Jim,
>
>Yes, it's correct but when you add item like this to list box using ADDLISTITEM( STRTRAN(lcFileName, "\", "\\")) it shows as "\\server\sharename\filename.txt". That's what we were discussing.

I understand that, Sergey.

But. . . given your observation, then I have an even bigger problem.
I commonly run something like *I* wrote above from the COMMAND WINDOW just to confirm that I will get the result expected when I put the code into my program/method. When it is right I copy/paste that code.
Here we are now with something that gives a different output depending on what other function/method it might also be coded with???? Not good news to me.

UPDATE: I finally located the Help that you referred to (was not easy). That is something that needs much wider coverage than this one single place in the documentation. I guess it was there for VFP6 too?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform