Added in 1.9.0
Returns the total number of lines in the specified text file.
filename - Filename to read from.
;Open a file for writing /fopen file file.txt ;Write a line to the file /fwrite file Hello World ;Close the file /fclose file ;Print the number of lines in file.txt //echo -ag $lines(file.txt) <pre>
Updated by Per Amundsen about 4 years ago · 1 revisions