From WikiChip
Difference between revisions of "mirc/identifiers/$lines"
< mirc‎ | identifiers

(Paramters)
m
Line 1: Line 1:
 +
{{mirc title|$lines Identifier}}'''$lines''' returns the total number of lines in the specified text file.
  
 
{{mirc title|$lines Identifier}}'''$lines''' Returns the total number of lines in the specified text file.
 
  
 
== Synopsis ==
 
== Synopsis ==
Line 24: Line 23:
  
 
== See Also ==
 
== See Also ==
[[Category:MIRC identifiers]]
 
 
* {{mIRC|$read}}
 
* {{mIRC|$read}}
 +
{{mIRC identifier list}}
 +
[[Category:mIRC identifiers|lines]]

Revision as of 17:19, 20 September 2017

$lines returns the total number of lines in the specified text file.


Synopsis

$lines(filename)

Paramters

filename - The complete filename you want to know the total number of.

Properties

None

Example

//echo -a $lines(readme.txt)
will return the total number of lines in the relative filename readme.txt.

Compatibility

Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

[Expand]
v · d · e mIRC identifier list