help.lookup

From ComputerCraft Wiki
Revision as of 14:42, 29 May 2012 by Pinkishu (Talk | contribs)

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