Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LineFeed and CR in string
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00632399
Message ID:
00632426
Views:
23
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform