home *** CD-ROM | disk | FTP | other *** search
/ Kosovo Orphans' Appeal Charity CD / KosovoOrphansAppeal.iso / applications / _insert / _help / helptext < prev    next >
Text File  |  1994-01-12  |  5KB  |  99 lines

  1. HelpFile-1.60
  2. 7
  3. Help on !Help
  4. {01Copyright
  5. {C{H11Copyright Notice
  6. {C================
  7.  
  8.   This program is ⌐ Matthew Hambley 1994.  It is Public domain.  That is it  may be freely copied and no money should change hands for this program.  A   charge may be made for p&p and duplication.
  9.   This program is supplied as is and no guaranty is given or implied as to   its fitnes for purpose.  The author can accept no blame for loss of time,    data or money cased by the use of this program.
  10.   The files contained in the !Help directory of version 1.60 are:
  11.  
  12. {C!Boot
  13. {C!Help
  14. {C!Run
  15. {CTemplates
  16. {C!Sprites
  17. {CSprites
  18. {C!RunImage
  19. {CAppText
  20. {CHelpText
  21.  
  22.   Of these only AppText may be altered.
  23.  
  24. {C{H13+--------------------------------------------------------+
  25. {C{H13| Turn over the page by clicking on the right arrow icon |
  26. {C{H13+--------------------------------------------------------+
  27. {02What, Why and How
  28. {C{H11What is !Help and why was it written?
  29. {C=====================================
  30.  
  31.   !Help is an application that displays a specially prepared text file in a  desktop window.  As simple as that.
  32.  
  33.   It was written because I was annoyed that all the help display programs I  found were shareware.  So this is the PD equivalent.  It is perhaps not as   fast as the shareware ones but it is free so what do you expect.
  34.  
  35. {C{H11How to move about the pages
  36. {C===========================
  37.  
  38. Well it's obvious isn't it?  You click the right arrow to move through the   pages and the left arrow to go back.  If an arrow is grayed out then you have reached to end of the document and may not go further.
  39. {03How to use Help
  40. {C{H11Using !Help in your own programs
  41. {C================================
  42.  
  43.   Simply copy the !Help application into your application directory and the  write your help into the AppHelp file.  It realy is that easy.  Now when a   user clicks menu over your application there will be a help option in the    Application menu.  When this is clicked on !Help will load and the user is   presented with your help file.
  44.  
  45.   Over the page is a description of the file format.  You must be very       careful to adhere to it.  If you get it wrong Help may crash or it may do odd things to your memmory, curruption any other work in progress.  I descovered that whilst writing this very help file.  I accidentaly missed out the H in a colour command and lost my filer window and the text in my text processor.
  46.  
  47. {C{H08You have been warned
  48. {04How to use Help
  49. {C{H11File format
  50. {C===========
  51.  
  52.   For all the people out there who wish to use the help program here is the   format for the AppText file.
  53.  
  54. HelpFile-1.60                     - This is a header and must be present
  55. <Integer 1-99>                    - The number of pages.
  56. <String 19 characters long max.>  - The string to appear in the title bar.
  57. {{01                               - Start of page one.
  58. <Text...>                         - The text.  See later.
  59. {{02                               - Start of page two (if present)
  60. <Text...>                         - More text if present.
  61. {{E                                - End marker.
  62.  
  63. The text
  64. --------
  65.   There are some important notes about the main text.  The system is set up  so that if a document looks all right in !Edit, in mode 12 it should be OK   in Help.  You must remember that Help shows slightly less than Edit does on  one screen.  Help will not crash if more than a screen of text is entered on one page but not all of the text will be displayed.  If you want to use the  {{ character it must be entered twice. (e.g. {{{{)  This can cause trouble with the length  of lines.
  66. {05How to use Help
  67. {C{H11Control Codes
  68. {C=============
  69.  
  70.   You may inbed control codes into the text for special functions.  All      control codes start with an opening curly bracket({{) followed by a number of parameters.
  71.   So the question you are now asking is: What mega funcy stuff can I do with these control characters?
  72.   The answer is: You can't do any mega funcy stuff with them.  What you can  do however is listed below.
  73.  
  74. {{C                           - Centre a line of text
  75. {{H<integer between 0 and 15> - Change the colour of a line of text
  76.  
  77.   So there you are, have a play to see what they do.
  78. {06History
  79. {C{H11Revision History
  80. {C================
  81.  
  82. 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.
  83.  
  84. v1.50 - I have re-writen the redraw routine so now it only redraw the bit of         the screen that needs doing.  This is a major improvement.
  85.  
  86. v1.60 - You can now have centred text and colour.
  87.  
  88. v1.61 - Minute change made.  You can now use just about any character in your        text.
  89. {07Upkeep
  90.   If you find any bugs in this program or feal that your superior programing skill could be brought to bear on some of my code then please write to me:
  91.  
  92. {C!Help
  93. {CMatthew Hambley
  94. {C15, North Roundall,
  95. {CLimekilns,
  96. {CDunfermline,
  97. {CFife KY11 3JY.
  98. {E
  99.