Difference between revisions of "Help.path"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
(Update description and use type template) |
||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=help.path | |name=help.path | ||
− | |||
|api=help | |api=help | ||
− | |returns= | + | |returns={{Type|string}} the path list, separated by colons |
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc=Returns the | + | |desc=Returns the list of locations the API will look in for help files. This is returned in the form of a string containing multiple search paths separated by colons. |
|examples= | |examples= | ||
{{Example | {{Example | ||
− | |desc=Prints the current path for the help API | + | |desc=Prints the current path list for the help API. |
|code=print(help.path()) | |code=print(help.path()) | ||
|output=/rom/help | |output=/rom/help |
Latest revision as of 19:53, 23 April 2013
Function help.path | |
Returns the list of locations the API will look in for help files. This is returned in the form of a string containing multiple search paths separated by colons. | |
Syntax | help.path() |
Returns | string the path list, separated by colons |
Part of | ComputerCraft |
API | help |
Examples
Example | |
Prints the current path list for the help API. | |
Code |
print(help.path()) |
Output | /rom/help |