Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chrtran and carriage returns
Message
 
To
11/03/2002 16:57:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00631191
Message ID:
00631503
Views:
62
>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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform