up previous next
H.OutCommands

print command descriptions to a file
Syntax

H.OutCommands(S:STRING):NULL
H.OutCommands(S:STRING, A:INT):NULL
H.OutCommands(S:STRING, A:INT, B:INT):NULL


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("CommandFile",1,10);
To print sections of the online manual, use the function H.OutManual .

See Also