NetIPC 3000/XL Programmer's Reference Manual (5958-8600)

Table Of Contents
66 Chapter3
NetIPC Intrinsics
NetIPC Reference Pages
NetIPC Reference Pages
The following pages provide syntax and usage information for each of
the NetIPC intrinsics. The reference pages are organized alphabetically
by NetIPC intrinsic name.
ADDOPT
Adds an option entry to the
opt
parameter.
Syntax
ADDOPT (
opt
,
entrynum
,
optioncode
,
datalength
,
data
[,
result
])
Parameters
opt
(input/output)
Record or byte array, by reference. The
opt
parameter to which you want to add an entry. Refer to
“Common Parameters” for more information on the
structure of this parameter.
entrynum
(input)
16-bit integer, by value. Indicates which entry is to
be initialized. The first entry is entry zero.
optioncode
(input)
16-bit integer, by value. The option code of the entry,
identifies the option.
datalength
(input)
16-bit integer, by value. The length (in bytes) of the
data associated with the option.
data
(input)
Byte array, by reference. The data associated with
the option.
result
(output)
16-bit integer, by reference. The error code
returned; zero if no error.