Remove an external library from memory. If the library was successfully removed then the predicate is exited, if the library could not be removed then the predicate fails. It is not possible to remove a library if it is being used at that same moment for calling an external Prolog clause, this condition is checked by this predicate.
| Under windows the name of the file to load is case insensitive. |
see also: external_library/1 load_external_library/1
| Examples | |
| unload_external_library('numtest.dll'). | In the folder of the executable running the Prolog program and the 'plugin' subfolder of the executable the Windows library file 'numtest.dll' is searched and if found an attempt is started to remove it. |
| unload_external_library('c:\\temp\\numtest.dll'). | An attempt is made to remove the library 'c:\\temp\\numtest.dll' from memory, the folder of the executable running the Prolog program and the plugin subfolder are not searched. |