File reading edits...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
phunk
New User
New User
Posts: 6
Joined: Sun Jan 18, 2004 8:17 am

File reading edits...

Post by phunk »

I think a slight edit to functions like ReadString() would be nice.

I think that adding a parameter to it, such as a line number, would help as well. Rather than looping through a whole file, you could go right to a specific line with ReadString(lineNumber).

Also, a numLines(filename) function would be good, that returns the number of lines in a file.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

search for FastFileText
SPAMINATOR NR.1
Post Reply