Tandy 600 Programmer's Reference Manual page 114

Bios programmers
Hide thumbs Also See for 600:
Table of Contents

Advertisement

Function
1Eh
-
Compare Two
Records
Parameter
Block;
00
FILE_HANDLE_1
01
RECORD_ID_1
02
FIELD_LIST_1
03
FILE_HANDLE_2
04
RECORD_ID_2
05
FIELD_LIST_2
06
COUNT
|
Return Value:
AX:
STATUS
File Identifier for
first file
Record
Number
in first
file
Pointer to
field
list
for
first
file
File Identifier for
second
file
Record
Number
in
second
file
Pointer
to
field
list
for
second
file
Number
of
fields
in
field lists
This
function
will
perform a
comparison
of
two
records.
The
records
to
be
compared
are
specified
by
giving
a
file
handle
and
record
ID
for
each
record.
It
is
legal
for
the
file
handles
to
be
the
same, comparing two
records
in
the
same
file,
or
different,
comparing
records from
two
different
files.
The
field
list
parameters
point to
two
arrays
of
field
ID's
which
identify
the
fields to
be
compared
and
the
order
in
which
to
compare
them. Both
arrays
must be
the
same
length
and
contain
as
many
field
ID's
as
specified
in
COUNT.
On
return
from
the
function,
if
the
carry
flag
is
set,
an
error
occured
and
the
error
code
is
in
AX.
Otherwise,
AX
will
contain:
-
Record_1
<
Record_2
1
-
Record_1
=
Record_2
2
-
Record_1
>
Record_2
Error
Returns:
109

Advertisement

Table of Contents
loading

Table of Contents