NSPC_MOVE

Move an entry within a symbol table

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall NSPC_MOVE(id, old_entry, new_entry)

or

return = %NSPC_MOVE(id, old_entry, new_entry)

Return value

return

Always a value of 1. (n)

Arguments

id

The ID of the symbol table. (n)

old_entry

The current access code for the entry. (n)

new_entry

The new access code for the entry. (n)

Discussion

The %NSPC_MOVE function modifies the access code of an entry within a symbol table.

Entries between old_entry and new_entry are shifted accordingly.

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

Examples

The following example moves an entry from access code curr_user to new_user in symbol table user_id.

xcall nspc_move(user_id, current_user, new_user)