Obtains the option code and argument data associated with an opt parameter argument.
READOPT(opt,argnum,optioncode,datalength,data,error)
opt | Byte array (Pascal); Integer array |
| (FORTRAN), by reference. The opt parameter to be |
| read. |
argnum | |
| reference in FORTRAN. The number of the argument to |
| be obtained. The first argument is number zero. |
optioncode | |
| associated with the argument. These codes are described in |
| each NetIPC call opt parameter description. |
datalength | |
(input/output) | buffer into which the argument should be read. If the data |
| buffer is not large enough to accommodate the argument data, |
| an error will be returned. On output, this parameter contains |
| the length of the data actually read. (The length of the data |
| associated with a particular option code is provided in each |
| NetIPC call opt parameter description.) |
data | Array, by reference. An array which will contain the |
| data read from the argument. |
error | |
| returned; zero if no error. |
Network Interprocess Communication 623