help.topics

From ComputerCraft Wiki
Revision as of 19:53, 23 April 2013 by Hawk777 (Talk | contribs) (Update description, reformat example and use ipairs to get sorted output, and use type template)

Jump to: navigation, search


Grid Redstone.png  Function help.topics
Returns a list of all available help topics. This is all files found in the directories in the search path returned by help.path. The returned table is sorted.
Syntax help.topics()
Returns table all valid topics
Part of ComputerCraft
API help

Examples

Grid paper.png  Example
Lists all valid help topics.
Code
for _, v in ipairs(help.topics()) do
  print(v)
end
Output List of all valid help topics