NSPC_PUTDATA

Modify an entry’s data in a symbol table

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall NSPC_PUTDATA(id, access_code, data)

or

return = %NSPC_PUTDATA(id, access_code, data)

Return value

return

Always a value of 1. (n)

Arguments

id

The ID of the symbol table. (n)

access_code

The access code of the entry. (n)

data

The user‑defined data to associate with the entry. (a)

Discussion

The %NSPC_PUTDATA function modifies the user‑defined data for an entry within a symbol table.

Data can be up to 100 characters in length, as defined in %NSPC_OPEN.

We recommend that you XCALL NSPC_PUTDATA instead of accessing it as a function.

See also

NSPC_GETDATA for retrieving an entry’s data.

Examples

The following example updates the user‑defined data for user.

xcall nspc_putdata(user_id, user, user_data)