EOF() depending loops
Posted: Tue Feb 24, 2004 7:49 am
eof() doesn't seam to work in empty file in the result is that loops reading the file depending of eof don't end
http://www.purebasic.com
https://www.purebasic.fr/english/
Little Tip: True means <>#False. Don't check a=#true, check a<>#falseDreglor wrote:sry but i just figured out for some reason on my computer it returns -1 at when it's at the end
the tool bar help says it would be 1 if it hit the end not -1
Not many computer languages that work that way... 0 or NULL are always FALSE, but TRUE anything except FALSE...Dare2 wrote:It would be really nice if #FALSE and #TRUE (and logical returns of same) were fixed values, 0 and 1.