Difference between revisions of "Help.path"

From ComputerCraft Wiki
Jump to: navigation, search
(It returns the path, it doesn't print it.)
m (Moved to CAT:APIFunctions)
Line 14: Line 14:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 18:34, 28 November 2012


Grid Redstone.png  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

Grid paper.png  Example
Prints the current path for the help API
Code
print(help.path())
Output /rom/help