%NSPC_ATOS

Map entry in symbol table to search index

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
index = %NSPC_ATOS(id, access_code)

Return value

index

The search index for a given entry in a symbol table based on its access code. (n)

Arguments

id

The ID of the symbol table. (n)

access_code

The access code of the entry to reference. (n)

Discussion

The %NSPC_ATOS function retrieves the search index associated with a given entry in a symbol table.

Note

The search index and access code for any given entry may change with every addition, deletion, or modification of the associated symbol table. Be sure the access code has not changed since it was obtained.

See also

%NSPC_STOA for mapping a search index to an entry.

Examples

The following example retrieves the search index for entry user.

srch = %nspc_atos(user_id, user)