Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text to isue
Message
From
05/04/2022 14:51:26
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Text to isue
Miscellaneous
Thread ID:
01684081
Message ID:
01684081
Views:
59
I All,

Has somebody an idea why
lcText  = ''

lcField = 'myfield'
luValue = 'myfaluve      '+0h0d0a+ '     '+0h0d0a+ '     '+0h0d0a+ '     '
*luValue = 'myfaluve           '

TEXT TO lcText TEXTMERGE flags 1+2 PRETEXT 1+2 additive
<<>>			<<'<' + lcField + '>'>><<luValue>><<'</' + lcField + '>'>>
ENDTEXT
Clear
?lcText
removes the trailing spaces before the closing tag? Looks like a bug to me.

This works as expected
lcText  = ''

lcField = 'myfield'
luValue = 'myfaluve      '+0h0d0a+ '     '+0h0d0a+ '     '+0h0d0a+ '     '
*luValue = 'myfaluve           '

TEXT TO lcText TEXTMERGE flags 1+2 PRETEXT 1+2 additive
<<>>			<<'<' + lcField + '>'+luValue+'</' + lcField + '>'>>
ENDTEXT
Clear
?lcText
The problem is from FoxBin2PRG

Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Next
Reply
Map
View

Click here to load this message in the networking platform