os.clock
From ComputerCraft Wiki
Revision as of 14:24, 24 June 2012 by Wukl (Talk | contribs) (Undo revision 1799 by 37.59.80.67 (talk))
Function os.clock | |
Returns the amount of time the computer craft computer has been running, note that this may not be the amount of time the program has been running. the function os.clock() is useful for debugging, see the example. | |
Syntax | os.clock() |
Returns | float, amount of time the computercraft computer has been running. |
Part of | ComputerCraft |
API | os |
Examples