7.1.2   Creating the Help Files

Help files are necessary for the online access to the operator knowledge base via HALCON operators like get_operator_info. For example, HDevelop uses their information to build up the menu tree 'Operator' (chapter and section structuring) and 'Suggestions' (alternatives, cross references, predecessor, successor, and keywords). The help files are generated for the language selected with the (optional) -l option. The default language is English.



  hcomp -M [-llanguage] def-files

creates files with the stem operators_, followed by the language (default: en_US), and the following extensions:


Extension Description

.ref The operator description (text, value lists, ...).
.idx Index for every operator specifying the start address of its entry within the *.ref file.
.key List of keywords (index entries) with the associated operators.
.num Specification of the number of parameters per parameter class for every operator.
.sta Specification of the parameter names and the chapter names for every operator.

In addition to the option -M

 -cTAGS-FILE

can be set in order to insert the source file and the line number of the supply procedure of the operator into the *.ref file. To do this, a TAGS-File (usually TAGS) must have been generated by the etags command before.