help.setPath

From ComputerCraft Wiki
Revision as of 19:53, 23 April 2013 by Hawk777 (Talk | contribs) (Update description and use type template)

Jump to: navigation, search


Grid Redstone.png  Function help.setPath
Returns the list of locations the API will look in for help files. This should be a string containing one or more search paths separated by colons.
Syntax help.setPath(string path)
Returns nil
Part of ComputerCraft
API help

Examples

Grid paper.png  Example
Sets the search path of the help API to /disk/help.
Code
help.setPath("/disk/help")