1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
6
<TYPE>Scilab Function</TYPE>
8
<SHORT_DESCRIPTION name="genlib"> build library from all functions in given directory</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>genlib(lib-name [,dir-name, [ force [,verbose]]]) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>lib-name: </PARAM_NAME>
17
<SP>Scilab string. The variable name of the library to (re)create.</SP>
21
<PARAM_NAME>dir-name: </PARAM_NAME>
23
<SP>Scilab string. The name of the directory to look for <VERB>.bin</VERB>-files; default value is the current directory.</SP>
27
<PARAM_NAME>force,verbose</PARAM_NAME>
29
<SP>: boolean values (default values <VERB>%f</VERB>).</SP>
36
For each <VERB>.sci</VERB> file in <VERB>dir-name</VERB>, <VERB>genlib</VERB> executes a
37
<VERB>getf</VERB> and saves the functions to the corresponding <VERB>.bin</VERB>
38
file. The <VERB>.sci</VERB> file must not contain anything but Scilab
39
functions. If a <VERB>.bin</VERB> file is newer than the associated
40
<VERB>.sci</VERB> file, <VERB>genlib</VERB> does not translate and save the file.</P>
42
This default behaviour can be changed if <VERB>force</VERB> is given and
43
set to <VERB>%t</VERB>. In this latter case the recompilation iis always
44
performed for each <VERB>.sci</VERB> file.</P>
46
When all <VERB>.sci</VERB> files have been processed, <VERB>genlib</VERB> creates a
47
library variable named <VERB>lib-name</VERB> and saves it in the file
48
<VERB>lib</VERB> in <VERB>dir-name</VERB>.</P>
50
If <VERB>verbose</VERB> is et to <VERB>%t</VERB> informations are displayed during
51
the build process.</P>
53
<SECTION label="Restrictions">
55
Scilab tacitly assumes that file <VERB>foo.sci</VERB> defines only a single function named <VERB>foo</VERB>.</P>