Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement