Open topic with navigation
WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall NSPC_GETDATA(id, access_code, data[, entry_name])
return = %NSPC_GETDATA(id, access_code, data[, entry_name])
Always a value of 1. (n)
The ID of the symbol table. (n)
The access code of the entry. (n)
The returned user‑defined data associated with the entry. (a)
(optional) The returned name of the entry. (a)
The %NSPC_GETDATA function retrieves the data for an entry within a symbol table.
If D_NSPC_CASE was not specified when the symbol table was created, the entry_name returned is all in one case, either upper or lower, depending on the search engine in the environment.
Data can be up to 100 characters in length, as defined in %NSPC_OPEN.
We recommend that you XCALL NSPC_GETDATA instead of accessing it as a function.
NSPC_PUTDATA for modifying an entry’s data.
The following example gets the user‑defined data and name for entry user.
xcall nspc_getdata(user_id, user, user_data, username)