FUNCDEF

Define Function

Defines a routine consisting of spectrum analyzer commands, assigns the routine a label, and

stores the routine and its label in the user memory.

Syntax
user-defined
function
nane
/
\
FUNCDEF character
comnonds
to
/
be executed
\
analyzer
comnand
<
#A character
character
Item Description/Default
Character
(function name) 9ny valid character.
jelimiter
inalyzer
command
vlsb
length
.sb
length
Xaracter (data)
:haracter
&
EOI
Matching characters marking the beginning and end of the list of
spectrum
analyzer commands.
4ny
valid spectrum analyzer command.
VIost
significant
byte of a two-byte word that describes the
lumber of bytes transmitted.
.east
signlflcant
byte of a two-byte word that describes the
mmber of bytes transmitted.
1ny
valid character.
1ny
valid
character and END.
Range
!
to 11 characters
.ong,
A through
Z
and
;he
underscore (the
utderscore should be
used
as the second
:haracter
of the
abel).
‘I\@=/^$%;!‘:
‘&

Restriction: User-defined function name cannot be a reserved word (see lkble 5-2).

Related Commands: ABORT, DISPOSE, KEYDEF, RETURN.

5-184 Programming Commands