General information
Category:
Coding, syntax & commands
>>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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only