Function
1Ch
-
Change
Field
Type
Parameter
Block:
00:
FILE.HANDLE
File Identifier
01:
FIELD
Field
Id
of Field
to
change
02:
TYPE
New
Field
Type
Returr
AX:
i
Value:
STATUS
This
function
will
change
the
data type associated
with
an
existing
field
in
the specified
file.
Any
data
stored
in
the
changed
field
is
not
converted
to
the
new
type.
The
data conversion
must be performed by
the
program
performing
the
change
field
type
function
call.
The
procedure
to
use
is:
Perform
the
Change
Field
Type
function
call.
For
each
record
in
the
file,
read the data from
the
changed
field,
convert
it
to
the
new
data
type,
and
write
it
back
to
the
field.
Error
Returns;
107
Related Products for Tandy 600