(setfunhelp)

(setfunhelp "c:filename" [helpfile [topic [command-name]]]])


Register the command with that Help file.


This function registers your user-defined command-name with the Help facility. This ensures that the correct helpfile and topic are displayed when the user requests help on that command-name. The setfunhelp function returns the string passes as "c:filename" when successful; otherwise, it returns nil.

  1. The c:filename argument is your user-defined command; it must include the C: prefix and must be a quoted string.
  2. The helpfile argument is the name of the HLP file. Presumably, you have created a custom HLP file for your application.
  3. The topic argument is a topic name within the HLP file.
  4. The command-name argument is the same as the filename, but without the C: prefix.

Example

Code Returns
(setfunhelp "c:stair" "stair.hlp" "raisers" "stair") "c:stair"

Tell me about...

(help [filename [topic [flag]]])

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language