General information
Category:
Coding, syntax & commands
>I can't do a FGETS() because it will only hold 254 characters.
Not exactly; 254 is the max if you don't sepcify a "max" up to the Carriage Return.
If all lines in the file are not more than, say, 300 bytes, then you can:
m.cBuff = FGETS( m.nHandle, 300 )
which will retrieve 1 line at a time, up to the next CR, as long as the line is not greater than 300 bytes (otherwise, you only get the next 300 bytes).
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only