!Rem===============================================================
!Rem
!Rem DEMO1.hls     Demonstration Help file for use with The Helper
!Rem
!Rem **** NOTE:  You should do  DEMO0.HLS  before you do this demo.
!Rem
!Rem Type Alt-R to run this demo. It illustrates !include files and
!Rem using the ~(Special,#)...~ command for DOS shell operations.
!Rem
!Rem===============================================================
!Rem
!Rem The source code for this demo starts here...
!Rem
!Rem---------------------------------------------------------------
!!TextMem1="DEMO1"
!Category=1
!Window  12 5 64 17
!Colors 79 79 78 48 7 7 15 112 ..... Specify default colors.....
!Rem.......note the use of !!(-) to insert the text memory defined with
!Rem.......!!TextMem1=.. and ~ to mark the highlighted phrases, and where
!Rem.......to go when selected..

   ~C(47,112) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ~C(0)
   ~C(47,112)            !!(TextMem1)   -   CONTENTS             ~C(0)
   ~C(47,112) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ~C(0)

   Use  and <Enter> to select a topic.
   Use F1 from anywhere to return to this menu.

   How to use these screens....~(2,1) Help with Help ~
   Enter DOS commands..........~(7,1) Dos ~
   Animation demonstration.....~(Animate1,1) Animation ~
!Category=2 " Help "  Display=F
!Delay10
!Colors 113 113 112 94 0 0 0 0
!Window 12 3 66 22

 Help with Help
 ===============
~C(120,0) The Help screens are interactive. If highlighted
 options and a cursor bar are visible then move the
 cursor over them and select one by pressing <Enter>.
 General commands for using the Help screens are:
~C(0)
           F1 - display Help Contents
          Esc - quit Help and return to the program
 ,,Home,End - move cursor
    a..z,A..Z - move cursor to the next highlight
                  containing (upper case) A to Z.
        Enter - select topic under cursor
    Backspace - skip backwards through previously
                  displayed topics

~C(120,0)                               PgDn for more...
!Page2 " Help "  Display=E
!Window 12 3 66 23
~C(120,0)
 Some Help topics have several pages, indicated by
 arrows in the top or bottom right-hand border. If
 you see them scroll through the pages with these,
 where ^ means press Ctrl with the indicated key:
~C(0)
      PgUp - previous page in current topic
      PgDn - next page      "    "      "
     ^PgUp - first page     "    "      "
     ^PgDn - last page      "    "      "

~C(120,0) Some additional commands are:
~C(0)
      ~(3,1) F2 ~ - print some/all of the Help screens
      ~(4,1) F3 ~ - find a text string in the Help file
      ~(4,1) F4 ~ - repeat last find

    ~(5,1) Alt-F1..F10 ~ - Store this page
   ~(6,1) Ctrl-F1..F10 ~ - Restore stored page
!Category=3
!Window 12 5 66 20

 F2 - Print the Help file
 -------------------------

 Press F2 to get the following options:

    A  to print all screens in the Help file
    C   "   "   the current Help category
    P   "   "   the current Help page only
    L  to set the number of lines per page

 Press Esc to quit and return to the help screens.
 Interrupt the printing by pressing any key.
!Category=4
!Window 12 5 66 23

 F3,F4 -  Find a text string in the Help file
 ---------------------------------------------

 Press F3 to search through all pages of the Help
 file for any text string. The page containing
 that string will be displayed if it is found.
 Then press F4 to find the next page containing
 that string, or F3 to search for a new string.

 The search not case-sensitive, and starts from
 the current position in the Help file. Press F1
 first to go to the top of the file if you need
 a complete search. Do not try searching for
 multiple characters such as -------- as these
 are saved in compressed form on the disk.
!Category=5
!Window 12 5 66 19

 Alt-F1..F10  -  Store current page
 -----------------------------------

 There are 10 page memories available, so that you
 can flip instantly to any pre-stored location in
 the help file. Store the current page into one of
 the memories by typing one of the function keys
 F1 to F10 while holding down the Alt key. You can
 then return instantly to that page at any future
 time by typing the Ctrl-function key.
 See ~(6,1) Ctrl-F1..F10 ~ for more.

!Category=6

 Ctrl-F1..F10  -  Goto stored page
 ----------------------------------

 If a page has been stored into one of the 10
 memories with ~(5,1) Alt-F1..F10 ~, it can be instantly
 recalled by typing Ctrl-F1..F10.

 eg. Store this page by typing Alt-F1. Then go to
     the contents page with F1 (or anywhere else
     in the help file) and type Ctrl-F1. If all
     goes well you should be back here again.
!Category=7
!Window  15 8 63 18
!Colors 23 23 30 94 0 0 0 0


  ~C(19,0)DOS functions. Choose from:~C(0)

  Directory listing...........~(Special,248) dir            ~
  Hidden DOS command..........~(Special,248)[dir] Show Directory ~
  Read the file README.DOC....~(Special,249) readme         ~

~(Special,250)              Enter a DOS shell
!Rem
!Rem----- Note the use of the special commands ~(Special,---). These Help files
!Rem----- can have a maximum of 254 categories, so ~(Special,---) is reserved
!Rem----- for these special commands, such as printing and DOS commands.
!Rem----- 248 means execute the highlighted phrase as a DOS command, and
!Rem----- 250 means the user can enter any DOS command or a DOS shell.
!Rem----- For more on these and other special ~ commands, type F1 for help
!Rem----- and select "Commands" from the main menu and "~(#,#)...~" from
!Rem----- the Commands menu.
!Rem
!include animate.hls  ---- the animation demo, as an include file
!end.
