User guide

17-9
Using the PLI
PLI Specifications
The valid PLI specifications are as follows:
call=function
Specifies the name of call function. This specification is required.
check=function
Specifies the name of check function.
misc=function
Specifies the name of misc function.
data=integer
Specifies the data value passed as first argument to call, check,
and misc routines. The default is 0. Use this argument if you want
more than one user-defined system task or system function to use
the same call, check, or misc function. Specify a different integer
for each user-defined system task or system function in the PLI
table file that uses the same call, check, or misc function.
size=number
Specifies the size of returned value in bits. This specification is
required for user-defined system functions. You can omit this
specification or specify 0 in the PLI specifications for a
user-defined system function. For user-defined system functions,
specify a decimal value for the number or bits. For example:
size=64. If the user-defined system function returns a real value,
specify r. For example: size=r
args=number
Specifies the number of arguments to the user-defined system
task or system function.
minargs=number
Specifies the minimum number or arguments.