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

dbCreateLib

dbCreateLib( 
t_libName 
[ t_libPath ] 
) 
=> ddId_libId / nil 

Description

Creates a library named t_libName.

If t_libPath is specified, the t_libPath is appended to the t_libName. This path is created in the cds.lib file. No t_libName directory is created. If t_libPath is omitted, a directory named t_libName is created, but its libPath in cds.lib does not include the t_libName itself.

Arguments

t_libName

The library name to be created.

t_libPath

Library path to be appended to the library name.

Values Returned

ddId_libId

If the library is created successfully, the ddId of the library is returned.

nil

Otherwise nil is returned.

Examples

libId = dbCreateLib( "myLibrary" )
libId = dbCreateLib( "myLibrary" "/tmp" )

Return to top
 ⠀
X