Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textmerge vs chr(10)
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Textmerge vs chr(10)
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01426518
Message ID:
01426518
Views:
155
Ok, I have to create a file for some Unix snobs and they require only a LF character as the line terminator.
set textmerge to chr10.txt
set textmerge on noshow

lcChr10 = chr(10)
\\<<chr(10)>>
\\<<lcChr10>>

set textmerge off
set textmerge to
If you hexedit the file you see that VFP8 has blissfully converted the LF character to a space. How can I get around this bug?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Next
Reply
Map
View

Click here to load this message in the networking platform