Subversion Repositories wimsdev

Rev

Rev 3793 | Rev 4210 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3757 bpr 1
!set slib_lang_exists=yes 
2
!distribute lines Library script\
3
 Output\
4
 Parameter\
5
 Parameters\
6
 Required_Software\
7
 Call from module\
8
 Call from OEF/Doc\
9
 Available scripts in slib\
10
 Variable list of comma-separated items\
3793 reyssat 11
 default\
3757 bpr 12
into wims_name_slib,wims_name_Output,wims_name_Parameter,wims_name_Parameters,wims_name_Required_Software,\
13
  wims_name_call1,wims_name_call2,wims_name_listslib,wims_name_variable_list,wims_name_default
14
 
3799 bpr 15
!set wims_name_upto=!nosubst Up to $slpcnt, comma-separated
3757 bpr 16
 
17
!set wims_name_instruction=Scripts in this library can be called from modules using the command \
18
<tt>!read</tt> (or <tt>!readproc</tt> from within a phtml file).\
19
For example, the line\
20
<pre>\
21
 !read slib/matrix/random 3, 5, 10\
22
</pre>\
23
generates a 3&times;5 matrix with random integer coefficients in [-10, 10].\
24
The result is placed in the variable\
25
<tt>slib_out</tt>.\
26
To call an slib script from OEF exercises, documents or forum\
27
messages, use the function\
28
<tt>slib()</tt>.<p>\
29
Only variables prefixed by \
30
<tt>slib_</tt>\
31
are modified by these scripts.