ADDOPT

Adds an argument and its associated data to the opt parameter.

ADDOPT(opt,argnum,optioncode,datalength,data,error)

opt

Byte array (Pascal); Integer array

 

(FORTRAN), by reference. The opt parameter to which

 

you want to add an argument.

argnum

16-bit integer, by value in Pascal, by

 

reference in FORTRAN. The number of the argument to

 

be added. The first argument is number zero.

optioncode

16-bit integer, by value in Pascal, by

 

reference in FORTRAN. The option code of the argument

 

to be added. These codes are described in each NetIPC call

 

opt parameter description.

datalength

16-bit integer, by value in Pascal, by

 

reference in FORTRAN. The length in bytes of the data to

 

be included. This information is provided in each NetIPC call

 

opt parameter description.

data

Packed array of characters (Pascal); Integer

 

array (FORTRAN), by reference. An array containing

 

the data associated with the argument.

error

16-bit integer, by reference. The error code

 

returned; zero if no error.

620 Network Interprocess Communication