These routines perform service functions for linear structures. The parameter LLS is the address of the first bank of the linear structure.
LZLAST!LF = LZLAST (IXSTOR,!LLS)
searches the linear structure pointed to by LLS for its end.
It returns in LF the address of the last bank in the structure.
LF = 0
is returned if the structure is empty.
LZFIND!LF = LZFIND (IXSTOR,!LLS,IT,JW)
searches the linear structure pointed to by LLS
for the first bank containing IT in word JW;
it returns its address in LF.
If none: LF=0
.
LZLONG!LF = LZLONG (IXSTOR,!LLS,NW,ITV,JW)
has the same function as LZFIND,
but ITV is a vector of NW words expected
in words JW to JW+N-1
of the bank.
LZBYT!LF = LZBYT (IXSTOR,!LLS,IT,JBIT,NBITS)
has the same function as LZFIND,
but it looks for a bank having IT in byte (JBIT,NBITS)
of the status word.
LZFVAL!LF = LZFVAL (IXSTOR,!LLS,VAL,TOL,JW)
has the same function as LZFIND, but it looks for a bank having in word JW a floating point number which is equal to VAL within the tolerance TOL.
NZBANKN = NZBANK (IXSTOR,!LLS)
counts the number of banks in the linear structure pointed to by LLS.
NZFINDN = NZFIND (IXSTOR,!LLS,IT,JW)
searches like LZFIND, but for all banks.
It returns the number of such banks in N
and stores the addresses of the first 100 such banks into ,
starting at IQUEST(1)
.
NZLONGN = NZLONG (IXSTOR,!LLS,NW,ITV,JW)
searches like LZLONG, but for all banks.
It returns the number of such banks in N
and stores the addresses of the first 100 such banks into ,
starting at IQUEST(1)
.