Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chr(13) conversion
Message
De
20/07/2004 16:02:29
 
 
À
20/07/2004 13:44:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00926064
Message ID:
00926287
Vues:
14
Actually, it depends on the platform that produced the file. Typically, text files from DOS/Windows terminate lines with CRLF. UNIX/LINUX text files terminate lines with LF. I haven't looked at Mac text files for several years but they used to termintae lines with a CR.

>>I can't find any chr(10) charaters in my text. I also can't find any chr(10) characters when I sent my string back to a file and edit it with hexedit.
>>
>>When I run the command in my command window (not in my program), the charachters are replaced. Run-time it doesn't work.
>>
>>Why?
>
>Is your test data roughly the same as what's failing in runtime?... I'm thnking specifically here of the length of the entire string being examined.
>Also, it is most 'standard', per my own observations, that a "CR" is typically a "LF+CR", commonly CHR(13)+CHR(10).
>
>good luck
>
>
>>
>>Sander
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform