Difference between revisions of "Printer.getPaperLevel"

From ComputerCraft Wiki
Jump to: navigation, search
(It's not in an API. also, changed the example and returns=)
(Moved to CAT:LuaCoreFunctions)
Line 13: Line 13:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:Lua_Core_Functions]]

Revision as of 18:50, 28 November 2012


Grid Redstone.png  Function printer.getPaperLevel
Returns the total amount of paper in the printer.
Syntax printer.getPaperLevel(none)
Returns Int_(type)
Part of ComputerCraft
API none

Examples

Grid paper.png  Example
Prints paper level
Code
print(printer.getPaperLevel())