Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting Line Feed at the End
Message
De
07/02/2019 13:21:01
 
 
À
07/02/2019 13:10:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01666039
Message ID:
01666049
Vues:
38
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform