filesize
- Syntax: %filesize(i)
returns the number of lines or number of records in the ith file (opened with the #FILE command)
Example:
#FILE 1 "kagi.txt"
- #SHOW %filesize(1)
- #CLOSE 1
- displays the number of lines of the file 'kagi.txt' in your zMUD directory. (result is 45 for the file kagi.txt that is part of zMUD v 5.49)