Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Expert Help On-Line Manual v1.30 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

  Creating the Menu Link Control File:
    A menu link control file is required for every help file that you wish to
    create. This file contains all the necessary parameters such as help file
    name, credits, menu names and menu items with their file names.

    Let's create a menu link control file called:

              TUTCREAT.LNK

    !Name: Naming the Help File    (Required)
    The first line of the link file must contain the help file name. The
    help file name is specified by using the !name: command, followed by the
    name. The help file name is defined by you and can be up to forty
    characters in length. This name will be displayed in the Help File
    menu when selecting a file.

    Let's name our help file Tutorial Creation. Type,

    !name: Tutorial Creation                                            

    !Credits: Calling it Yours   (Optional)
    The next line of the link file is the credits section. Credits are added
    to help file with the !credits: command. Credits identify the help file
    as your creation. Credits can be up to five lines of 65 characters
    each.

    Let's add some credits.

    !name: Tutorial Creation                                            
                                                                        
    !credits:                                                           
          Tutorial Creation                                             
          Copyright (c) 1991                                            
              Your Name                                                 
          All Rights Reserved.                                          

    Note:
         The use of the !credits: command is optional. Also note that the
         actual "credits" text starts on the line immediately after the
         !credits: command.

    !Menu: Naming the Menus   (Required command - !MENU: or !NOMENU:)
    Now we need to specify the menu name. Menu names are specified by using
    the !menu: command, followed by the menu name.

    Let's call our first menu Creating. Type the menu name just below the
    credits section. The next line is reserved for the first menu item of
    the Creating menu. Let's name this menu item Source Files. Next to the
    menu item name is where you must specify the filename of the compiled
    file that contains the text for the menu item.

    !name: Tutorial Creation                                            
                                                                        
    !credits:                                                           
            Tutorial Creation                                           
            Copyright (c) 1991                                          
              Your Name                                                 
            All Rights Reserved.                                        
                                                                        
    !menu: Creating                                                     
           Source Files   SOURCE1.EHO                                   


    Important Rule:
         The text for each menu item must be placed into a separate source
         file. This means that if you create a help file with two menus, the
         first menu with three menu items and the second menu with two menu
         items, you will have at least five text source files.

    For now, this completes the creation of our menu control link file.
    Save this file TUTCREAT.LNK


    Note:
         Expert Help can also create help files without menu definitions.
         This is done with the !NOMENU: <file.eho> command. See the reference
         section for a more detailed description of this command.


    Press the Gray + key to jump to the next topic (long entry).



 

See Also: Linking

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson