Agilent Technologies 8566B Operating And Programming Manual page 464

Spectrum analyzer 100 hz - 2.5 ghz/2 - 22 ghz
Table of Contents

Advertisement

UNTIL (Continued)
REPEAT
Use the FUNCDEF command to nest a REPEAT UNTIL command within another REPEAT UNTIL looping
construct. The program below defines "C-LOP" as a looping construct in lines 30 through 60. The construct is
then nested into the REPEAT UNTIL command in line 80.
10
20
30
OUTPUT 718;"FUNCDEF C-LOP," " "
40
50
80
70
80
90
100 OUTPUT718;"UNTILSCORE,EQ,4;"
The program below does not work because the REPEAT UNTIL commands are nested without the use of the
FUNCDEF command.
10
20
30
40
50
OUTPUT 718;"TS;"
50
70
80
90
100 E N D
356 Programming

Advertisement

Table of Contents
loading

Table of Contents