Open topic with navigation
WTSupported in traditional Synergy on Windows
USupported on UNIX
void put_xarg(DESCRIP **argblock, int arg, DESCRIP *source)
The argument block pointer passed by the Synergy DBL subroutine to the C function.
The number of the argument into which to store data.
Points to a descriptor for data to be transferred.
The put_xarg function loads data into a subroutine argument.
If the argument wasn’t passed, or if it’s a literal, this routine generates an error.
The put_xarg operation performs a store operation exactly as if the following Synergy DBL statement:
DSTARG = SRCFLD
were present in a Synergy program, with source pointing to the descriptor for SRCFLD and argblock[argument] pointing to the descriptor for DSTARG. All of the required conversions, truncations, alignments, and so forth occur automatically according to the data types of the two fields.