home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / i / insert / !Insert / !Help / HelpText < prev    next >
Encoding:
Text File  |  1994-05-18  |  7.3 KB  |  137 lines

  1. HelpFile-1.61
  2. 10
  3. Help on !Help
  4. {01Contents
  5.  
  6. {C{H11Welcome to {B1HyperHelp{B0
  7. {C{H11======================
  8.  
  9. In this document you will find the following:
  10.  
  11.  2. Copyright notice
  12.  3. How to use HyperHelp
  13.  4. The story of HyperHelp
  14.  5. HyperHelp in your programs
  15.  6. The Text
  16.  7. Control Codes
  17.  8. Revision History
  18. 10. Upkeep
  19.  
  20. {J03Click here to find out how to operate HyperHelp.{J00
  21. {02Copyright
  22.  
  23. {H11This program is {B1©1994 Matthew Hambley.{B0
  24.  
  25.   It is public domain.  This means it may be distributed freely on the       condition that:
  26.  a. no money is made from it although a small charge may be made for             duplication and p+p.
  27.  b. No files are deleted, altered or added with the exception of the AppHelp     file. (See later)
  28.  
  29.   The only part of the HyperHelp application which may be changed is the     AppHelp file.
  30.  
  31.   The contents of the directory should be:
  32. {C!Boot, !Help, !Run, Templates, !Sprites,
  33. {CSprites, !RunImage, AppText, HelpText
  34.  
  35. HyperHelp is supplied as is.  Therefore no guarantee is given or implied as  to its fitness for purpose.  The author can not be held responsible for any  loss of data, time or money due to the use of HyperHelp.
  36. {03Using HyperHelp
  37.  
  38.   HyperHelp is simplicity itself to use, but I would say that wouldn't I.
  39.  
  40.   To advance a page simply click on the right hand arrow at the top of the   window.  To go back a page click on the left hand arrow.  If either of the   arrows is greyed out you have reached on end of the document and may not go  further.
  41.  
  42.   Any text highlighted with bright green may be clicked on to jump to a      different page in the text.
  43.  
  44.   If, at any point, you want to retrace your steps you can click on the      "Go back" icon.  It is situated next to the left hand arrow.  This will      allow you to retrace up to five steps through the pages.  If this icon is    greyed out then you have retraced your maximum five steps and may not go     further back.
  45.  
  46.   If you bring up the HyperHelp menu you can select the name of the page you 
  47. wish to go to using the contents option.  Open the contents sub-menu and     select the page you require from the supplied list.
  48. {04The HyperHelp story
  49.  
  50.   This page explains why I wrote HyperHelp which is a good question and one  I feel ill equipped to answer.  However here goes.
  51.  
  52.   Basically the reason HyperHelp was written was that all the help reader    programs I found were shareware so I wrote this PD alternative.  It is       without doubt slower than its shareware counterparts however I feel it has a more comprehensive features list.
  53. {05HyperHelp in use
  54.  
  55.   If you wish to use HyperHelp in your latest programming masterpiece simply drag the HyperHelp directory into your applications directory.  Now when the user clicks MENU over your application the 'Help' option will be available   on the 'File' submenu.  All that remains for you to do is edit the AppText   file to hold your help text.
  56.  
  57.   The text must be formatted in certain ways for it to be acceptable to      HyperHelp.  Below is the basic file structure.
  58.  
  59. HelpFile-2.11                     - This is a header and must be present
  60. <Integer 1-99>                    - The number of pages.
  61. <String 19 characters long max.>  - The string to appear in the title bar.
  62. {{01<String>                      - Start of page one and the page name.
  63. <Text...>                         - {J06The text{J00.  See later.
  64. {{02<String>                      - Start of page two (if present) and the                                       page name.
  65. <Text...>                         - More text if present.
  66. {{E
  67.  
  68.   You must be careful when creating your text as HyperHelp can do strange    things to your computer if it finds something it doesn't expect.  I found    this out when I lost my floppy drive icon and !Edit after a crash.  A hard   reset soon sorted it out though.  The moral of this story is, of course,     save before you try it out.
  69. {06The Text
  70.  
  71.   Hyper help is written so a document written in Edit using a work area of   77 characters will be faithfully reproduced in HyperHelp.  You must remember though, Edit can display a greater number of rows than HyperHelp.  If you    include more rows than HyperHelp can handle they just won't be displayed.
  72.   If you want to use the {{ character in your text you must enter it twice {{{{.
  73. {07Control Codes
  74.  
  75.   There are a number of control codes you may imbed in your text to achieve  certain effects.  They all start with opening curly brackets. ({{) Then       there is a command character followed by the parameters if any.
  76.  
  77.   So the question you are now asking is: What mega funky stuff can I do with these control characters?
  78.   The answer is: You can't do any mega funky stuff with them.  What you can  do however is listed below.
  79.  
  80. {{C                           - Centres the current line of text.
  81. {{R                           - Right justifies the current line of text.
  82. {{H<Integer between 0 and 15) - Change the colour of the current line of                                     text.  The numbers corresponds to those                                      displayed when a colour is clicked on in the                                 palette icon.
  83. {{U<1-on, 0-off>              - Underlining
  84. {{B<1-on, 0-off>              - Emboldening
  85. {{J<Page number>              - Hyper link to specified page. A {{J00 command                                 must be used to mark the end of the link                                     text.
  86.  
  87.   All the commands last for one line and may not be continued over two lines.
  88.  
  89. {RSo that's how it's done.  Have a play to see what they do.
  90. {08Revision History
  91.  
  92. v1.00 - The first version.  Slow and clumsy but it works.  It redraws the            whole window every time but you can't have perfection first time.
  93.  
  94. v1.50 - I have rewritten the redraw routine so now it only redraw the bit of         the screen that needs doing.  This is a major improvement.
  95.  
  96. v1.60 - You can now have centred text and colour.
  97.  
  98. v1.61 - Minute change made.  You can now use just about any character in your        text.
  99.  
  100. v1.70 (19 Jan 1994) - Now we have a cunning and useful contents menu.
  101.  
  102. v1.71 (27 Feb 1994) - Right Justification added and <Adjust> click to reverse                      arrow action.
  103.  
  104. v1.80 (5  Apr 1994) - Memory management altered.  space for the document                           comes from application space and not module area now.
  105.  
  106. v1.81 (6  Apr 1994) - More memory management alterations.  I have made the                         pointer system used a lot simpler.
  107.  
  108. v1.82 (11 Apr 1994) - Underlining and emboldening added.
  109. {09Revision History
  110.  
  111. v2.00 (13 Apr 1994) - Hyper-linking added
  112.  
  113. v2.10 (16 Apr 1994) - Undo memory added.
  114.  
  115. v2.11 (19 Apr 1994) - Some small tweaks.
  116.  
  117. v2.12 (20 Apr 1994) - Further improvements to the memory management. (Beta                         test version)
  118.  
  119. v2.13 (22 Apr 1994) - Rewritten help text.  More tweaking of code.  First                          release version.
  120.  
  121. {U1Future developments{U0
  122.  
  123.   I hope future versions will offer some of the follwing:
  124.  
  125.  a. Machine code load and redraw routines for speed
  126.  b. Inclusion of sprites in documents
  127.  c. Printing of the document
  128. {10Upkeep
  129.  
  130.   If you find any bugs in this program or feel that your superior            programming skill could be brought to bear on some of my code then please    write to me:
  131.  
  132. {CMatthew Hambley
  133. {C15, North Roundall,
  134. {CLimekilns,
  135. {CDunfermline,
  136. {CFife KY11 3JY.
  137. {E