From WikiChip
Difference between revisions of "mirc/identifiers/$lof"
(→Examples) |
(→See Also) |
||
Line 40: | Line 40: | ||
* {{mIRC|$mircdir}} | * {{mIRC|$mircdir}} | ||
* {{mIRC|$null}} | * {{mIRC|$null}} | ||
+ | * {{mIRC|$bytes}} |
Revision as of 10:07, 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.