Difference between revisions of "Printer.getPaperLevel"
From ComputerCraft Wiki
(Created page with "{{lowercase}} {{Function |name=printer.getPaperLevel |args=none |returns=Value(Number) |api=printer |addon=ComputerCraft |desc=Returns the total amount of paper in the printer...") |
(It's not in an API. also, changed the example and returns=) |
||
Line 3: | Line 3: | ||
|name=printer.getPaperLevel | |name=printer.getPaperLevel | ||
|args=none | |args=none | ||
− | |returns= | + | |returns=Int_(type) |
− | |api= | + | |api=none |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Returns the total amount of paper in the printer. | |desc=Returns the total amount of paper in the printer. | ||
|examples= | |examples= | ||
{{Example | {{Example | ||
− | |desc= | + | |desc=Prints paper level |
− | |code=printer.getPaperLevel() | + | |code=print(printer.getPaperLevel()) |
}} | }} | ||
}} | }} |
Revision as of 02:05, 23 September 2012
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
Example | |
Prints paper level | |
Code |
print(printer.getPaperLevel()) |