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

(Created page with " {{mirc title|$lof Identifier}}'''$lof(filename)''' Returns the bytes size information about the specified file, same as ''$file().size'' identifier. == Synopsis == <source...")
 
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{mirc title|$lof Identifier}}'''$lof(filename)''' returns the bytes size information about the specified file, same as ''$file().size'' identifier.
  
 
{{mirc title|$lof Identifier}}'''$lof(filename)''' Returns the bytes size information about the specified file, same as ''$file().size'' identifier.
 
  
 
== Synopsis ==
 
== Synopsis ==
Line 20: Line 19:
 
It will return the bytes size of the mirc.exe file that you already using.
 
It will return the bytes size of the mirc.exe file that you already using.
  
<source lang="mIRC">//echo -a $lof($mircini)</source>
+
<source lang="mIRC">//echo -a $lof(mirc.ini)</source>
  
It will return the bytes size of the mirc.ini file that you already using.
+
It will return the bytes size (e.g: 14056) of the mirc.ini file that you already using.
  
 
<source lang="mIRC">//echo -a $bytes($lof($mircini)).suf</source>
 
<source lang="mIRC">//echo -a $bytes($lof($mircini)).suf</source>
  
It will return the original size of the mirc.ini file that you already using.
+
It will return the original size (e.g: 14KB) of the mirc.ini file that you already using.
 +
 
  
 
'''NOTE:''' It will return "'''$null'''" if the file doesn't exists to the path.
 
'''NOTE:''' It will return "'''$null'''" if the file doesn't exists to the path.
Line 33: Line 33:
 
{{mIRC compatibility|4.52}}
 
{{mIRC compatibility|4.52}}
  
== See Also ==
+
== See also ==
[[Category:MIRC identifiers]]
+
* {{mIRC|$bytes}}
 
* {{mIRC|$file}}
 
* {{mIRC|$file}}
 +
* {{mIRC|$mircdir}}
 
* {{mIRC|$mircini}}
 
* {{mIRC|$mircini}}
* {{mIRC|$mircdir}}
 
 
* {{mIRC|$null}}
 
* {{mIRC|$null}}
 +
{{mIRC identifier list}}
 +
[[Category:mIRC identifiers|lof]]

Latest revision as of 17:28, 20 September 2017

$lof(filename) returns the bytes size information about the specified file, same as $file().size identifier.


Synopsis[edit]

$lof(filename)

Parameters[edit]

* Filename = The filename that you want to check for.

Properties[edit]

None

Examples[edit]

//echo -a $lof($mircexe)

It will return the bytes size of the mirc.exe file that you already using.

//echo -a $lof(mirc.ini)

It will return the bytes size (e.g: 14056) of the mirc.ini file that you already using.

//echo -a $bytes($lof($mircini)).suf

It will return the original size (e.g: 14KB) of the mirc.ini file that you already using.


NOTE: It will return "$null" if the file doesn't exists to the path.

Compatibility[edit]

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


See also[edit]

[Expand]
v · d · e mIRC identifier list