Library: | xplore |
See also: | dlopen dlclose dlquery |
Quantlet: | conddlopen | |
Description: | support quantlet for pdf, cdf, and random number generators |
Usage: | r=conddlopen(name) | |
Input: | ||
name | name of the library to be opened; without any extension | |
Output: | ||
r | 1 when the library was actually opened, 0 when the library was already in the memory | |
h | handle for the library |
library("xplore") dlclose() conddlopen("rqbr") conddlopen("rqbr")
Library rqbr.dll is loaded. For the first time, 0 is returned (library was not loaded before), for the second time, 1 is returned (library was already loaded and no action was taken). h is always 0, as handle is in both cases the same. Contents of _tmp.r [1,] 0 Contents of _tmp.h [1,] 0 Contents of _tmp.r [1,] 1 Contents of _tmp.h [1,] 0