Help (API)

From ComputerCraft Wiki
Revision as of 21:33, 14 September 2013 by Immibis (Talk | contribs) (use API table template)

Jump to: navigation, search

The Help API allows you to mess around with the help files.

Grid disk.png  Help (API)
Function Return values Description
help.path() string path Returns the list of locations the API will look in for help files.
help.setPath(string path) nil Sets the list of locations the API will look in for help files.
help.lookup(string topic) string/nil path Returns the path to the file containing the help page for topic, or nil if the topic cannot be found.
help.topics() table topics Returns a list of all available help topics.