- Function me::CreateLibrary(libraryName, prefixName)
me::CreateLibrary
The function me::CreateLibrary
creates a new runtime library.
me::CreateLibrary(
libraryName, ! (input) a string
prefixName ! (optional) a string
)
Arguments
- libraryName
The name of the new runtime library.
- prefixName
The name of the new prefix, when not specified one is generated from the
libraryName
.
Return Value
The function returns an element in the set
AllIdentifiers
referencing the library when successful and the empty element upon failure. In the latter case at least one error has been raised.
Example
The code:
ep_functionReferenceExampleRuntimeLib := me::CreateLibrary(
libraryName : sp_functionReferenceExampleLibName,
prefixName : sp_functionReferenceExampleLibPrefix );
_ep_type := IdentifierType(ep_functionReferenceExampleRuntimeLib);
display _ep_type ;
Creates a runtime library, and produces in the listing file:
_ep_type := 'LibraryModule' ;
References
Generic references for model edit functions can be found on the index page