help.topics

From ComputerCraft Wiki
Revision as of 15:56, 2 May 2013 by Smiley43210 (Talk | contribs) (Corrected grammar)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 of 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