Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 59 of 128
REJ10J1822-0101
6.5.3 INOUT (Input and Output)
Description:
This keyword defines a parameter as an input to and output from the server function. The data in
the area specified by the parameter are transferred from the client to the server and then passed to
the server function. After that, the data output by the server function to the area specified by the
parameter are returned to the client. This keyword can only be used with the data-type keywords
PTR and ARY.
Example:
Specification of a server function
int func(struct ST *ptr);
The function takes *ptr, a pointer to a structure of type ST, as an input and returns a value in the
same area.
Definition of the server function
int ret = func([INOUT PTR]struct ST *ptr);