Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text...endtext additive - how to force a CR at end?
Message
De
16/03/2004 17:16:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Text...endtext additive - how to force a CR at end?
Divers
Thread ID:
00886880
Message ID:
00886880
Vues:
62
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform