Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also: dlopen dlclose dlquery

Quantlet: conddlopen
Description: support quantlet for pdf, cdf, and random number generators

Link:
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

Example:
library("xplore")
dlclose()
conddlopen("rqbr")
conddlopen("rqbr")

Result:
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



Author: P. Cizek, 20001208
(C) MD*TECH Method and Data Technologies, 05.02.2006