Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chrtran problem
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01285118
Message ID:
01285134
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>I wanna change the word "dados" to "fotos"
>
>dire1 = "C:\teste1\dados\"
>
>dire2 = CHRTRAN(dire1, "dados", "fotos")
>
>= MESSAGEBOX(dire2)
>
>But the message box displays "fofos" instead of fotos
>Is there a way I can solve it ?
>
>Now I tried to treat the words as variables,
>to simulate an entire word, but is behaves the same
>
>dire1 = "C:\teste1\dados\"
>
>STORE "dados" TO dd1
>STORE "fotos" TO ff1
>
>dire2 = CHRTRAN(dire1, dd1, ff1)
>
>= MESSAGEBOX(dire2)

With STRTRAN()? :)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform