MRV Communications LX-4000 Series Informacje Techniczne Strona 620

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 619
Using Comment Lines in the Menu File K-11
Using Comment Lines in the Menu File
Begin a comment line with an exclamation point (!) and follow it
with the comment text. An example follows:
%menu_end
!start Menu 3. Menu 3 displays CONNECT commands.
%menu_start 3 Connect Commands
The first line specifies the end of a menu. The second line is a
comment explaining that the next section of the file defines a
new menu, Menu 3. The third line is a menu command that
begins Menu 3.
General Guidelines
When you create the menu file, observe these guidelines:
The first line of every menu file is %menu_file.
You can define menus in any order within the file.
Each menu must have a menu number.
You can define menu entries in any order within a menu.
The menu file requires that each menu entry item have a
number.
Debugging the Menu File
A syntax error in the menu file prevents the file from executing
when a user attempts to access their menu. If a menu item’s
command is invalid, the user interface displays an error
message. Error messages are seen when configuring the menu
as well.
For example, the following entry appears if an error occurs when
you try to enter an invalid command:
syntax error in command “menu-entry-command-string”
Przeglądanie stron 619
1 2 ... 615 616 617 618 619 620 621 622 623 624 625 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag