using $read(file.txt,0) is almost always a bad idea. this only returns the total number of lines if the first line of the file is a number. $lines(file.txt) is a more reliable alternative.


------
deep down, i'm really superficial.