Tandy WP-2 Service Manual page 136

Portable wordprocessor
Table of Contents

Advertisement

The
organization of the
synonyms
is
as follows:
<MainSyn 1> <
Next
Main
Syn
1>
<alt syn
11
>
<alt
syn
12
>
...
<altsyn 1N[1]>
<Main
Syn
2>
<Next
Main
Syn
2>
<alt syn
21
> <
alt
syn 22
>
...
<alt
syn
2N[2]
>
<Main
Syn
ni>
<Next
Main
Syn
m>
<
alt
syn
ml
>
<alt
syn
m2>
...
<alt syn
mN[n]
>
where
N[l], N[2],
...
N[n]
are
the
lengths of
row
1,
row
2
and row
n,
respectively,
and
m
is
the
number
of rows.
Note
that
each
row
can have
a different
number
of
synonyms.
The
first
two synonyms on
a
row
contain the
most
"popular-
alternate
meanings
of
the root
word.
The
rest
of
the
list
contains
more
esoteric definitions.
A
call
to
Find
Synonyms
returns
in
the
A
register
the
number
of
synonyms
in
the
first
row.
The
(H,L)
points
to the
first
string
of
the
row.
Each
string
is
null
terminated.
The
locations
for
the
counts
and
the quit alternate
flags
are as follows:
Single character correction (function
3)
8325H
Phonetic
corrections (function 4)
8326H
Quit
corrections
8327H
When
the
Corrections
are
in
progress
and
the
byte
OFFH
is
written
to quit
corrections (location
8327H),
then the correction
function
3
or
4
returns.
String
Format
All strings
are returned
in
the following format:
<
string
1>
<0>
<
string 2
>
<0>
...
<
string
n>
<0>
The
A
register
contains the
total
number
of
strings that
the
(H,L)
register
pair points
to.
D-14

Advertisement

Table of Contents
loading

Table of Contents