Documentation

filesize

Syntax: %filesize(filenum)

returns the number of lines or number of records in the filenum file (opened with the #FILE command)

Example:

#FILE 1 "mudlist.txt"
#SHOW %filesize(1)
#CLOSE 1
displays the number of lines of the file 'mudlist.txt' in your TeSSH directory.

Add comment

Login or register to post comments