Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textmerge Pretext bug?
Message
De
03/01/2011 21:06:25
 
 
À
03/01/2011 17:12:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01494505
Message ID:
01494527
Vues:
99
This message has been marked as the solution to the initial question of the thread.
>Is this a bug? I'm outputting html and do not want any pretext or linefeeds. It seems VFP inserts a space between lines if the PRETEXT is set to 15 (which should be no pretext)? The code below outputs "line1 line2" (a space in between). Thanks!
>
>TEXT TO m.lcText TEXTMERGE NOSHOW PRETEXT 15
>line1
>line2
>ENDTEXT
>? m.lcText
>
Hmm... It probably depends on the interpretation of what that newline between the TEXT...ENDTEXT represents.

Perhaps the following might give you desired results?
SET TEXTMERGE TO MEMVAR lcText NOSHOW
SET TEXTMERGE ON
\\line1
\\line2
SET TEXTMERGE OFF
SET TEXTMERGE TO
? m.lcText
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform