ddGetStartup
ddGetStartup(t_fileName[b_contextId] ) =>t_filePath/ nil
Description
Looks for t_fileName in each standard place, and if it is not there, in stdPlace/share/cdssetup.
The standard places are usually
- The work area if there is one, else the current working directory
-
$HOME - The project (if TDM is in use)
-
$CDS_SITE, if it has been defined -
$CDS_INST_DIR, if it has been defined - The installation directory
ddGetStartup calls trigger functions registered on the triggers PreGetStartup and PostGetStartup.
Arguments
|
The function changes the working directory to the one implied by b_contextId (if it differs from the current working directory). |
Value Returned
Example
ddGetStartup( "cds.lib" )
=> "/home/guest/cadence/cds.lib"
Return to top