(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.
- The c:filename argument is your user-defined command; it must include the C: prefix and must be a quoted string.
- The helpfile argument is the name of the HLP file. Presumably, you have created a custom HLP file for your application.
- The topic argument is a topic name within the HLP file.
- 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" |