Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LineFeed and CR in string
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00632399
Message ID:
00632426
Vues:
21
>I need to determine if my m.buffer from a low level file read contains

Gregg and Garrett,

? AT(CHR(13), m.buffer) && returns 0
? AT(CHR(10), m.buffer) && returns 0
? AT(CHR(10)+CHR(13), m.buffer) && returns 0
? AT(CHR(13)+CHR(10), m.buffer) && returns 0

I know for a fact that one exist LF or CR or BOTH exist.
How would you interrogate for it?

m.buffer = FGETS(nFinOrigin,reclen)

TIA
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform