Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text...endtext additive - how to force a CR at end?
Message
From
16/03/2004 17:16:43
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Text...endtext additive - how to force a CR at end?
Miscellaneous
Thread ID:
00886880
Message ID:
00886880
Views:
60
I have a chain of text...endtext commands. The trouble is that I'm writing lines, and each line should have a CR at the end, which it doesn't.

If I do
TEXT TO lcText NOSHOW TEXTMERGE
Do Case
ENDTEXT
TEXT TO lcText NOSHOW TEXTMERGE addi
Case
ENDTEXT
the value in lcText is "Do CaseCase". If I add a blank line at the beginning of the second Text-endtext, I still get "Do CaseCase". Now If I add a tab in that blank line, I get "Do Case
Case" - with a CR in the middle, OK. But, as soon as I run the beautifier on this, it removes this tab and I'm back to "Do CaseCase". I've tried inserting
<<Chr(13)>>
instead of this blank line and it works - but it looks ridiculous.

Does anyone have an elegant solution for this?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Next
Reply
Map
View

Click here to load this message in the networking platform