home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
BLDHDR
/
BLDHDR.DOC
< prev
Wrap
Text File
|
1991-07-07
|
1KB
|
33 lines
Jonathan Richards' TCXL Help File Header Utility
BldHdr is a utility to help you code your TCXL's Help System more efficiently.
It creates a header file with macros using the category name and number. Any
spaces in the category name will be replaced with an underscore "_".
For example:
*B 1000,Help Category A
will create
#define Help_Category_A 1000
in the new header file.
Instead of your code looking like:
EntFld(1, 1, yesno, "Y", FLD_UPR, 1, FLD_CHG, NoVal,1000) ;
it will look like this:
EntFld(1, 1, yesno, "Y", FLD_UPR, 1, FLD_CHG, NoVal, Help_Category_A) ;
HOW TO USE THE BLDHDR
Usage: Bldhlp <ASCII Help TEXT File> <New header file>
<ASCII Help TEXT File> - The path name of the ASCII Text file
used to build the compiled help file.
<New header file> - The name of the header file to create
containing the macros.