prependInstallPath
prependInstallPath(S_name) =>t_string
Description
Prepends the Cadence DFII installation path to a file or directory and returns the resulting path as a string.
Possibly adds a slash (/) separator if needed. The typical use of this function is to compute one member of a list passed to setSkillPath.
Arguments
|
File or directory name to append to the installation path. If a symbol is given, its print name is used. |
Value Returned
|
String formed by prepending the installation path to the argument path. |
Examples
getInstallPath()
=> ("/usr5/cds/4.2")
Assume this is your install path.
prependInstallPath( "etc/context" )
=> "/usr5/cds/4.2/etc/context"
prependInstallPath( "/bin" )
=> "/usr5/cds/4.2/bin"
setSkillPath( list("." prependInstallPath("bin")
prependInstallPath("etc/context")) )
=> nil
getSkillPath()
=> ("." "/usr5/cds/4.2/bin" "/usr5/cds/4.2/etc/context")
Related Topics
Return to top