From WikiChip
Difference between revisions of "mirc/identifiers/$lof"
(→Examples) |
(→Examples) |
||
Line 22: | Line 22: | ||
<source lang="mIRC">//echo -a $lof(mirc.ini)</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. |
Revision as of 10:03, 12 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$lof(filename) Returns the bytes size information about the specified file, same as $file().size identifier.
Synopsis
$lof(filename)
Parameters
* Filename = The filename that you want to check for.
Properties
None
Examples
//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
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.