Goto: 4C Home | 4C Docs | System PCLs List sys.set_ldata()

sys.set_ldata()

Purpose:
sys.set_ldata() sends data to an open LData connection.
Usage:
ret = sys.set_ldata(<ldname>, <flags>);
Arguments:

<ldname> - an alpha var that was used in a previous call to sys.open_ldata()

<flags> - can be one of:
Returns:
-1 = Failure and sys.errno will be set. Probably no open LData connection with name <ldname>.
0 - Success
Where Used:
sys.set_ldata() can be called from anywhere.
Example:
Description:
Use sys.set_ldata() to send data to a non onetime LData connection. The data sent will be copied from the field specified int the sys.open_ldata() call.
Bugs/Features/Comments:
See Also:
sys.open_ldata()
sys.close_ldata()
sys.get_ldata()


Back to Top