Difference between revisions of "Help.path"
From ComputerCraft Wiki
(It returns the path, it doesn't print it.) |
|||
Line 6: | Line 6: | ||
|returns=[[string (type)|string]] path of help API | |returns=[[string (type)|string]] path of help API | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc= | + | |desc=Returns the current path for the help API |
|examples= | |examples= | ||
{{Example | {{Example |
Revision as of 03:03, 19 June 2012
Function help.path | |
Returns the current path for the help API | |
Syntax | help.path() |
Returns | string path of help API |
Part of | ComputerCraft |
API | help |
Examples
Example | |
Prints the current path for the help API | |
Code |
print(help.path()) |
Output | /rom/help |