
252 Chapter 8
O:\Manuals\E6380A_Progguid\Book\Ibasic.fm
IBASIC Controller
Method #2. Developing Programs on the Test Set Using the IBASIC EDIT Mode
Entering and Exiting the IBASIC EDIT Mode
To enter the IBASIC EDIT Mode first position the cursor on the IBASIC
Command Line field, type the word EDIT on the terminal or PC
connected to the Test Set and then press the ENTER key on the
terminal or PC. At this point the Test Set will fill the PC screen with 22
lines of IBASIC code from the program currently in the Test Set’s RAM
memory. No program lines will be displayed on the Test Set screen. If no
program is currently in the Test Set’s memory, the number 10 will be
displayed on the terminal or PC screen. This represents program line
number 10 and is displayed to allow you to begin writing an IBASIC
program beginning at line number 10. The “*” annunciator will be
displayed in the upper, right corner of the Test Set indicating that the
IBASIC controller is running to support the full screen edit mode.
After editing is complete, exit the IBASIC EDIT Mode by pressing the
terminal or PC’s ESCAPE key twice or pressing the SHIFT CANCEL
keys on the Test Set.
A variety of editing commands are supported by the IBASIC EDIT
Mode. These commands are activated in the Test Set as escape code
sequences. Most terminals and PC terminal emulator programs allow
function keys to be configured with user defined escape code sequences
and user defined labels for the keys. An escape command (when
received by a peripheral device like a printer or the Test Set) causes the
peripheral to recognize subsequent ASCII characters differently. In the
case of the Test Set, escape sequences are used for executing IBASIC
EDIT Mode editing commands.
For example, ESCAPE [L causes the Test Set to insert a new line
number where the cursor is positioned. Table 8-3 on page 254 lists the
editing escape codes for the Test Set. There is no escape code for
DELETE CHARACTER. Use the Backspace key for deleting. Use the
arrow keys to position the cursor.
Komentáře k této Příručce