Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chrtran and carriage returns
Message
 
À
11/03/2002 16:57:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00631191
Message ID:
00631503
Vues:
60
>You're right of course. The reason why it doesn't show with CHRTRAN() is that the "|" character is only replaced with CHR(13).

Why is it that a chr(13) only shows the line after the cr?
?  "abc" + Chr(13) + "123"
** displays
123

?  "abc" + Chr(10) + "123"
** displays
abc
123

?  "abc" + Chr(13) + "123" + Chr(13) + "efg"
** displays
efg &&and some wierd char

?  "abc" + Chr(10) + "123" + Chr(10) + "efg"
** displays
abc
123
efg
>
>>>you don't see the result on the screen with the ? command.
>>
>>How come? It shows on screen if you use strtran?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform