fs.getSize
From ComputerCraft Wiki
Revision as of 18:46, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:LuaCoreFunctions)
Function fs.getSize | |
Gets the size of a file | |
Syntax | fs.getSize(string path) |
Returns | bytes |
Part of | ComputerCraft |
API | fs |
Examples
Example | |
Get the size of the shell from the ROM and print it | |
Code |
print( fs.getSize("/rom/programs/shell") ) |