[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Creating the Menu Link Control File:
A menu link control file is required for every database that you wish
to create. This file contains all the necessary parameters such as
database name, credits, menu names and menu items.
!Name: Naming the Database
The first line of the link file must contain the database name. The
database name is specified by using the !name: command, followed by
the database name. The database name can be up to forty characters in
length. This name will be displayed in the Hypertext Database menu when
selecting a database with the ALT-D keypress.
Example: To define a database name of "Compact Disc Collection",
!name: Compact Disc Collection
!Credits: Calling it Yours
The next line of the link file is the credits section. Credits are
added to databases with the !credits: command. Credits identify the
database as your creation. The credits section can be up to five lines
of 65 characters each.
Let's add some credits. Type,
!name: Compact Disc Collection
!credits:
Compact Disc Collection
Copyright (c) 1990
Your Name
All Rights Reserved.
Note:
The use of the !credits: command is optional.
!Menu: Naming the Menus
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 Favorite CD's. Type the menu name just
below the credits section. The next line is reserved for the first
item of the the "Favorite CD's menu. Let's name this menu item
Classics. 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: Compact Disc Collection
!credits:
Compact Disc Collection
Copyright (c) 1990
Your Name
All Rights Reserved.
!menu: Favorite CD's
+. Classics classics.eho
|
|
+--------------- This will display as the first menu item.
Important Rule:
The text for each menu item must be placed into a separate text
file. This means that if you create a database with two menus, one
menu with three items and the other with two, you will have at
least five text files of information.
For now, this completes the creation of our menu control link file.
Press the Gray + key to proceed to the next topic (long entry).
See Also:
Creating Your Own Hypertext Database - An Overview.
Organization of Data Files.
!Short: Short Entries (A list of one line descriptions).
Long Entries. (Detailed text under short entries).
Related Topics (also known as !seealso: cross referencing).
Adding Another Menu.
Compiling (Preparing the text file for linking).
Linking (Combines all compiled files into the final Database).
What We Have Covered So Far.
!File: Pointing to Another File.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson