Difference between revisions of "Help.lookup"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:APIFunctions)
Line 14: Line 14:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 18:34, 28 November 2012


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