Difference between revisions of "Help (API)"
From ComputerCraft Wiki
(Fix formatting) |
(Fix a bit more formatting) |
||
Line 9: | Line 9: | ||
|Returns the path the help API has been set to | |Returns the path the help API has been set to | ||
|- | |- | ||
− | |[[help.setPath|setPath]]([[string (type)|string]] path ) | + | |[[help.setPath|setPath]]([[string (type)|string]] path) |
|Sets the path of the API to ''path'' | |Sets the path of the API to ''path'' | ||
|- | |- | ||
− | |[[help.lookup|lookup]]([[string (type)|string]] topic ) | + | |[[help.lookup|lookup]]([[string (type)|string]] topic) |
|Looks up the help file for ''topic'' | |Looks up the help file for ''topic'' | ||
|- | |- |
Revision as of 03:05, 19 June 2012
The Help API allows you to mess around with the help files.
Methods
Method name | Description |
---|---|
path() | Returns the path the help API has been set to |
setPath(string path) | Sets the path of the API to path |
lookup(string topic) | Looks up the help file for topic |
topic() | Returns a table of valid help topics |