Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

ddsRegCustomLibSelect

ddsRegCustomLibSelect( 
t_name 
s_sync 
s_update 
s_endSync 
s_curlLib
)
=> t / nil

Description

ddserv only supports one customization at a given time. If you call this function more than once, the latest set of functions are registered. The ddsRegCustomSelect function performs an isCallable Check on each of its arguments to insure that the functions have been loaded into the system. If not, a message is generated.

*Warning* ddsRegCustomLibSelect: sync routine name not callable.
*Warning* ddsRegCustomLibSelect: update routine name not callable.
*Warning* ddsRegCustomLibSelect: endSync routine name not callable.
*Warning* ddsRegCustomLibSelect: curLib routine name not callable.

The functions ddsSyncWithForm, ddsUpdateSyncWithForm, ddsEndSyncWithForm, and ddsGetCurrentLib will invoke the registered custom Library Browser interface functions using SKILL’s errset functionality. If any SKILL error occurs in the interface function or in the custom Library Browser itself, SKILL generates a stack trace (if the skill_stacktrace variable has a value greater than 0) and control will return to the calling ddserv routine rather than jumping back to the SKILL top-level. This is to try to isolate the command the user is currently interacting with from problems in the Library Browser interface.

Arguments

t_name

A string to name the registration by.

s_sync

The SKILL symbol of the function that performs the ddsSyncWithForm action.

s_update

The SKILL symbol of the function that performs the ddsUpdateSyncWithForm action.

s_endSync

The SKILL symbol of the function that performs the ddsEndSyncWithForm action.

s_curlLib

The SKILL symbol of the function that performs the ddsCurrentLib action.

Value Returned

t

All the specified routines can be called in the current DFII process.

nil

The specified routines cannot be called in the current DFII process.

Example

ddsRegCustomLibSelect( “dsb” ‘dsbSyncForm ‘dsbUpdateBrowsed ‘dsbEndFormSync ‘dbsGetCurrentLib )


Return to top
 ⠀
X