HP RPG/iX Utilities Reference Manual (30318-90006)

2- 185
In the next example, an error results when non-existent lines are used with the LIST command (1).
Following that, LIST is entered with a "line beginning" which is higher in sequence than the "line ending",
and another error message is shown (2). Next, the same error is committed using special characters to
indicate the current position of the record pointer (3). LIST used with a line number which includes an
illegal decimal value causes another error (4). Finally, an illegal character used with the FIRST parameter
brings up another error message.
(1) >L 100/150
Error 81: Range is empty.
(2) >L 10/5
Error 62: The TO line cannot be less than the FROM line number.
(3) >L @+5/@-5
Error 62: The TO line cannot be less than the FROM line number.
(4) >L 10.0005
^
Error 74: A maximum of 3 digits is allowed right of decimal.
>
(5) >L FIRST/
Error 61: Only a '*',line number,FIRST,LAST,ALL allowed in range.
>
MENU
MENU displays the main menu.
Form
ME[NU]
Purpose
The MENU command displays the main menu. It contains four sets of commands and the labels of the
special function keys. The command sets are segregated by function: File Commands, Editing Commands,
General-1 Commands, and General-2 Commands. See the example of the menu below for the commands
which are associated with each heading.
Related commands
To enter a command, you press the special function key which corresponds to the set containing the
commands you wish to use. The softkey moves the cursor to the first inverse video (white) box. You type in
the command abbreviation. The cursor then moves to the next box, where you enter the parameters of the
command. Under each box is a description of the appropriate parameter for that space. After the menu is
filled out, you press the ENTER key to execute the command.
NOTE Note that not all RISE commands appear on the menu. Only the most important do.
When the main menu is displayed, the special function keys perform the following operations:
F1: Move cursor to File Commands.
F2: Move cursor to General-1 Commands.
F3: Show RPG source lines with or without editor sequence numbers when you enter the next