//MPMorph-rexx/HELP


HELP :


   NAME   
  HELP -- returns help on commands.

   SYNOPSIS
  HELP( VAR/K,STEM/K,COMMAND,PROMPT/S ) => COMMANDDESC,COMMANDLIST/M

   FUNCTION
  Returns help on all or a specified command.

   INPUTS
  VAR     - Variable to return result rather than RESULT.
  STEM    - Stem variable for result.
  COMMAND - Command to provide template for.
  PROMPT  - Uses Amigaguide to display help for COMMAND.

   RESULT
  If STEM is provided and COMMAND is not provided then the number of
  commands is returned in stem.commandlist.count and the commands are
  returned in stem.commandlist.n where n=1 to count.

  If STEM is provided and COMMAND is also provided then the template
  for the command is returned in stem.commanddec.

  If STEM is not provided then the result is returned in the VAR (if
  provided) otherwise result. If COMMAND is not provided then the
  result is the number of commands followed by each command, otherwise
  the result is the command template.

  If PROMPT is supplied then no result is returned.

  Returns error when required.

   EXAMPLE
  options results;help;say result -> 20 ADDGRID ADDPOINT ...

  options results;help stem fred.;say fred.commandlist.count -> 20

  options results;help quit var bill;say bill -> QUIT FORCE/S

  help AR-Postscript PROMPT

   NOTES

   BUGS

   SEE ALSO