home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / BLDHDR / BLDHDR.DOC < prev   
Text File  |  1991-07-07  |  1KB  |  33 lines

  1. Jonathan Richards' TCXL Help File Header Utility
  2.  
  3. BldHdr is a utility to help you code your TCXL's Help System more efficiently. 
  4. It creates a header file with macros using the category name and number. Any 
  5. spaces in the category name will be replaced with an underscore "_".
  6.  
  7. For example:
  8.         *B 1000,Help Category A
  9.  
  10. will create
  11.  
  12.         #define Help_Category_A 1000
  13.  
  14. in the new header file.
  15.  
  16. Instead of your code looking like:
  17.         EntFld(1, 1, yesno, "Y", FLD_UPR, 1, FLD_CHG, NoVal,1000) ;
  18.  
  19. it will look like this:
  20.         EntFld(1, 1, yesno, "Y", FLD_UPR, 1, FLD_CHG, NoVal, Help_Category_A) ;
  21.  
  22.  
  23. HOW TO USE THE BLDHDR                                               
  24.  
  25. Usage: Bldhlp <ASCII Help TEXT File> <New header file>
  26.  
  27.         <ASCII Help TEXT File> -  The path name of the ASCII Text file 
  28.                                   used to build the compiled help file.
  29.  
  30.         <New header file>      -  The name of the header file to create 
  31.                                   containing the macros.
  32.  
  33.