Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting Line Feed at the End
Message
From
07/02/2019 13:21:01
 
 
To
07/02/2019 13:10:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01666039
Message ID:
01666049
Views:
37
>>At the end of Text Line, in the original one there is LF and in the replaced one there is CRLF. I exactly used what was suggested.
>>If I copy and Paste from Elsewhere, I get LF at the end, but using the replace command I get CRLF
>
>It's unlikely VFP is doing this. View the file in a hexadecimal editor, or try something like this:
>
>
FOR lnI = 1 to LEN(fieldName)
>    IF SUBSTR(fieldName, lnI, 1) $ CHR(13) + CHR(10)
>        ? "CHR(" + TRANSFORM(ASC(SUBSTR(fieldName, lnI, 1))) + ") found at " + TRANSFORM(lnI)
>    ENDIF
>NEXT
>
>See what it says exists in the physical field.
>
>It is more likely a viewer is reading the unusual line-ending character, and converting it for you.

Sir, It didn't went inside the loop means there is no CRLF at the end. But Why I am seeing it in Notepad and this is perhaps causing error in my postscript file.
Harsh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform