help.lookup

From ComputerCraft Wiki
Revision as of 18:34, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:APIFunctions)

Jump to: navigation, search


Grid Redstone.png  Function help.lookup
Looks up the path for a help file using the help.path() directory.
Syntax help.lookup(string topic)
Returns string path of help file for topic or nil
Part of ComputerCraft
API help

Examples

Grid paper.png  Example
Looks up the path for the disk api
Code
print(help.lookup("disk"))
Output /rom/help/disk