Difference between revisions of "Help.lookup"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
|||
Line 14: | Line 14: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Revision as of 18:34, 28 November 2012
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
Example | |
Looks up the path for the disk api | |
Code |
print(help.lookup("disk")) |
Output | /rom/help/disk |