302
S:\HP8924C\USRGUIDE\BOOK\CHAPTERS\ibasic.fb
Chapter 6, IBASIC Controller
PROGram Subsystem
Editing an existing IBASIC program line
Existing IBASIC program lines which are resident in the Test Set’s RAM memory
can be edited, one line at a time, from an external controller using the
PROGram:EXECute command as follows:
PROG:EXEC ’<existing program line number/modified program line>’
where <existing program line number/modified program line> represents an
existing IBASIC program line.
For example, to edit the following existing program line in the Test Set.
30 OUTPUT 814;"AFAN:DEMP:GAIN 20 dB"
to
30 OUTPUT 814;"AFAN:DEMP:GAIN 10 dB"
execute the following command from the external controller:
OUTPUT 714;"PROG:EXEC ’30 OUTPUT 814;""AFAN:DEMP:GAIN 10 dB""’"
Quoted strings, such as those used in OUTPUT commands, must use double
quotes.
Listing A Program
Execute the following command on the external controller to list an IBASIC
program which is resident in the Test Set to the currently specified IBASIC
Controller LIST device.
OUTPUT 714;"PROG:EXEC ’LIST’"