Function DirectoryOfLibraryProject(libraryname, directoryname)

DirectoryOfLibraryProject

Via the procedure DirectoryOfLibraryProject the name of the folder (directory) where a library is located can be obtained. This is the folder where the corresponding .libprj file exists.

DirectoryOfLibraryProject(
    libraryname,  ! (input) a scalar string
    directoryname ! (output) a scalar string
)

Arguments

libraryname

The name of the library or the name of the library prefix.

directoryname

The full path to the folder where the .libprj file of the library is located.

Return value

Returns 1 on success, 0 if the library cannot be found in the current AIMMS application.