NSPC_MOVE

Move an entry within a symbol table

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall NSPC_MOVE(id, old_entry, new_entry)

or

return = %NSPC_MOVE(id, old_entry, new_entry)

return

Always a value of 1. (n)

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)

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.

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)