CoCoA:H.OutCommands
From ApCoCoAWiki
H.OutCommands
print command descriptions to a file
Description
The function prints the online descriptions of commands to the text
file named S. Warning: if a file named S already exists, it is
appended to. The first form prints all of the command descriptions, the second prints only the command with number A, and the last prints commands with numbers A to B. The total number of commands is given by Len(MEMORY.Doc.Commands). The name of the command with number I is MEMORY.Doc.Commands[I].Title. Entering H.Commands("") will list the documented commands, in order.
Example
H.OutCommands(<quotes>CommandFile</quotes>,1,10);
To print sections of the online manual, use the function <ttref>H.OutManual</ttref>.
Syntax
H.OutCommands(S:STRING):NULL H.OutCommands(S:STRING,A:INT):NULL H.OutCommands(S:STRING,A:INT,B:INT):NULL
<type>help</type> <type>online-help</type>