Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit of Fgets()
Message
From
18/08/2004 13:30:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/08/2004 13:24:29
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00934184
Message ID:
00934197
Views:
25
>I tried putting 8192 in there, but that didn't seem to make a difference.
Then check the line with fread(). There should be chr(13) or chr(10).

lnPos=fseek(lnHandle,0,1) && save pos
lcText = fread(lnHandle,8192)
? at(chr(13),m.lcText), at(chr(10),m.lcText)
fseek(lnHandle,lnPos,0)
? len(fgets(lnHandle,8192))
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform