Tandy 600 Programmer's Reference Manual page 94

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

Advertisement

Function
OBh
-
Create
Field
Parameter
Block:
00:
FILE_HANDLE
File Identifier
01:
FIELD_NAME
Pointer
to Field
Name
02:
FIELD_TYPE
Field
Data
Type
Returr
i
Value:
AX:
STATUS
Field
Identifier
or
Error
code
The
FILEHANDLE
parameter
specifies the
file
handle
of
a previously
opened
database
file.
The
FIELDNAME
parameter
specifies the offset
from
the
segment
in
DS
of
an ASCIIZ
string
which
specifies
the
name
of
the
field
to
be
created.
The
field
name may
not
be
longer
than 16
characters.
If
it
is,
it
will
be
truncated
to
16
characters.
The
FIELDTYPE
parameter
specifies
the
field
data type
of
the
field
to
be
created.
The
following
field
data types are
defined;
1
-
Character
2
-
Numeric
3
-
Date
Creation
of
a
field is
not
allowed
if
there
is
an
open
record.
This operation
will
fail
if
there
is
a
record
open.
A maximum
of
64
fields
may
be
defined.
Error
Returns:
89

Advertisement

Table of Contents
loading

Table of Contents