You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TEXT .. TO will remove line feed LF - 0h0A if not combined with CR 0h0D, independent of any setting of PRETEXT.
At least a Remark should be introduced to help.
Try
lcInput = 'line 1'+0h0a+'line 2'
TEXT To lcText Noshow Textmerge Pretext 3
<<lcInput>>
ENDTEXT
?lcText
I see the problem on TEXT TO .. TEXTMERGE merging a variable read from a textfile with only LF.
A prg with only LF and the code you show will do no harm. The frx seems to A) to be considered as binary file by git, and B) not be harmed by the problem. Either the frx adds there own line ends while compiling, or it is a problem of TEXTMERGE.
Activity
DougHennig commentedon Nov 9, 2022
Interesting. I usually do this to ensure the last line has a CR and LF:
lscheffler commentedon Nov 9, 2022
I see the problem on TEXT TO .. TEXTMERGE merging a variable read from a textfile with only LF.
A prg with only LF and the code you show will do no harm. The frx seems to A) to be considered as binary file by git, and B) not be harmed by the problem. Either the frx adds there own line ends while compiling, or it is a problem of TEXTMERGE.
Add open issues VFPX#8, VFPX#28-VFPX#31, VFPX#33-VFPX#36, VFPX#39-VFP…