home *** CD-ROM | disk | FTP | other *** search
/ Really Useful CD 1 / ReallyUsefulCD1.iso / extras / progutils / _helpgen / support / basic / helplibdoc next >
Encoding:
Text File  |  1991-12-14  |  3.0 KB  |  110 lines

  1.  
  2.                      +---------------------------------+
  3.                      |The BASIC HelpReader Library 1.10|
  4.                      +---------+-------------+---------+
  5.                                |by Ben Harris|
  6.                                +-------------+
  7.  
  8. +----------+
  9. |Setting up|
  10. +----------+
  11.  
  12. Before you incorporate the library into you program, you should copy
  13. HelpRdrLib into your application's directory and put the following lines in
  14. your HelpDes file:
  15.  
  16. b
  17. cANO:Appl;HelpTable;`=^
  18. fFFB
  19. p▌≥helpreader_make_table
  20.  
  21. Where 'ANO:Appl' is the name of the help text.  Since this is a little hard
  22. to type (involving lots of Alt-key combinations), it would probably be a
  23. good idea to copy it directly from this text file into your HelpDes file.
  24.  
  25. In the help text itself, insert context-sensitive markers as normal (see the
  26. main HelpGen help text).  The label names will be converted into variable
  27. names, so don't re-use them in your program.
  28.  
  29. +--------------+
  30. |Initialisation|
  31. +--------------+
  32.  
  33. In you application's initialisation routines, you should load the HelpReader
  34. library and initialise it as follows:
  35.  
  36. LIBRARY "<Appl$Dir>.HelpRdrLib"
  37. PROChelpreader_init("<Appl$Dir>","ANO:Appl")
  38.  
  39. Where '<Appl$Dir>' is your application's directory and 'ANO:Appl' is the
  40. name of the help text.
  41.  
  42. +----------------+
  43. |Message handling|
  44. +----------------+
  45.  
  46. In your application's message handling routine, you should use:
  47.  
  48. PROChelpreader_msg_poll
  49.  
  50. +--------------------+
  51. |Moving the help text|
  52. +--------------------+
  53.  
  54. To move the help text, use:
  55.  
  56. PROChelpreader_move(label%)
  57.  
  58. Where 'label%' is the label name specified in the help text.
  59.  
  60. +---------------------+
  61. |Loading the help text|
  62. +---------------------+
  63.  
  64. To load the help text, or move it to the front, if it is already loaded,
  65. use:
  66.  
  67. PROChelpreader_load
  68.  
  69. +-------------------+
  70. |Variable names etc.|
  71. +-------------------+
  72.  
  73. All of the library's functions, procedures and global variables have names
  74. beginning with 'helpreader_'.  It's unlikely that you will want to use
  75. anything that will clash with these, but if you were thinking of it, don't!
  76.  
  77. +------------------+
  78. |Conditions of use:|
  79. +------------------+
  80.  
  81. This library may be freely copied and distributed.
  82.  
  83. Any modifications should mentioned in this text file along with the name and
  84. address of the person who modified it and a copy of the modified library
  85. sent to me so that I can include the modification in any future versions (if
  86. I like it!).
  87.  
  88. You may use this library in any program as long as I am fully credited and
  89. I am set a copy.
  90.  
  91. If I find that anyone has breached these conditions, they will be hanged,
  92. drawn and quartered (or at least given a stern ticking-off).
  93.  
  94. +----------+
  95. |My Address|
  96. +----------+
  97.  
  98. If for any reason you would like to contact me (to report bugs, suggest
  99. improvements, give praise, donate money, etc.), please write to me at:
  100.  
  101. Ben Harris,
  102. 9 Brownhill Lane,
  103. Wembury,
  104. Plymouth.
  105. PL9 0JQ
  106.  
  107. Please note that I am only responsible for this library. The rest of the
  108. HelpReader system is the responsibility of Ben Summers.
  109.