/trunk/wims/public_html/modules/help/wimsdoc.en/applets.phtml |
---|
9,19 → 9,17 |
!set cnt=!recordcnt interface2 |
!for j=1 to $cnt |
!set interf=!record $j of interface2 |
!!$table_header |
<table class="wimstable" bgcolor="#a08060" border="0" cellpadding="3" cellspacing="1" width="75%"> |
$table_header |
$table_tr |
<th width="150">$wims_name_name</th><td> |
<th style="width:150px;">$wims_name_name</th><td> |
!line 1 of $interf |
</td> |
$table_tr |
</tr>$table_tr |
<th>$wims_name_Author</th><td> |
!line 2 of $interf |
!!!exec $name about |
</td> |
$table_tr |
</tr>$table_tr |
<th>$wims_name_Address</th><td> |
!line 3 of $interf |
</td> |
/trunk/wims/public_html/modules/help/wimsdoc.en/features.phtml |
---|
62,15 → 62,15 |
shuffle, evaluation of mathematical expressions, etc. |
$tit Easy inline mathematical symbols:$titend |
simply type <tt>$$m_pi</tt> for $m_pi, <tt>$$m_RR</tt> for |
$m_RR, <tt>$$m_eufM</tt> for $m_eufM, <tt>$$m_le</tt> for |
$m_le, <tt>$$m_Rightarrow</tt> for $m_Rightarrow, etc. |
simply type <span class="tt">$$m_pi</span> for $m_pi, <span class="tt">$$m_RR</span> for |
$m_RR, <span class="tt">$$m_eufM</span> for $m_eufM, <span class="tt">$$m_le</span> for |
$m_le, <span class="tt">$$m_Rightarrow</span> for $m_Rightarrow, etc. |
$tit Intelligent treatment of mathematical expressions:$titend |
built-in translation routines to allow error-tolerant expressions |
like <tt>2y</tt> (instead of <tt>2*y</tt>) or <tt>(x+1)(x-1)</tt> |
(instead of <tt>(x+1)*(x-1)</tt>), and translations of raw mathematical |
expressions into beautified html sources (<tt>x^3-3*x^2+1*x-5</tt> |
like <span class="tt">2y</span> (instead of <span class="tt">2*y</span>) or <span class="tt">(x+1)(x-1)</span> |
(instead of <span class="tt">(x+1)*(x-1)</span>), and translations of raw mathematical |
expressions into beautified html sources (<span class="tt">x^3-3*x^2+1*x-5</span> |
will become $emph |
!htmlmath x^3-3*x^2+1*x-5 |
$emphend, |
/trunk/wims/public_html/modules/help/wimsdoc.en/interface0 |
---|
10,7 → 10,7 |
<a href="http://www.graphviz.org/Credits.php">Credits</a> |
http://www.graphviz.org/ |
Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. Automatic graph drawing has many important applications in software engineering, database and web design, networking, and in visual interfaces for many other domains. |
can be used through the slibs <tt>graph/graphviz</tt>, <tt>draw/graphviz</tt> and <tt>draw/graphvizpoints</tt> |
can be used through the slibs <span class="tt">graph/graphviz</span>, <span class="tt">draw/graphviz</span> and <span class="tt">draw/graphvizpoints</span> |
:gap |
<a href="http://www.gap-system.org/Contacts/People/people.html">The GAP Group</a> |
29,4 → 29,4 |
:jmol |
:geogebra |
:geogebra |
/trunk/wims/public_html/modules/help/wimsdoc.en/interface1 |
---|
34,7 → 34,7 |
huffman_radix=4 |
0.16, 0.39, 0.55 |
:lceb |
Lucas Nussbaum <lucas@lucas-nussbaum.net> |
Lucas Nussbaum, lucas@lucas-nussbaum.net |
jeu "le compte est bon" |
7 integers |
How to obtain the first number from the six other ones by addition, multiplication, division, substraction |
/trunk/wims/public_html/modules/help/wimsdoc.en/interface2 |
---|
25,7 → 25,7 |
:Plinko /Plinko-II |
Dr. D.P. Little |
An overview of these <a target="new" href=http://www.math.psu.edu/dlittle/applets.html>applets</a>. |
An overview of these <a target="new" href="http://www.math.psu.edu/dlittle/applets.html">applets</a>. |
Two Galton board applets. Sends experimental data to wims. |
:MathView |
/trunk/wims/public_html/modules/help/wimsdoc.en/mathfonts.phtml |
---|
5,48 → 5,48 |
$table_header |
$table_tr<th>Symbol</th><th>Name tt</th></tr> |
$table_tr<td>$m_alpha, $m_beta, $m_gamma,... $m_pi,... $m_omega |
</td><td><tt>$$m_alpha,$$m_beta,$$m_gamma...$$m_pi...$$m_omega</tt></td></tr> |
</td><td><span class="tt">$$m_alpha,$$m_beta,$$m_gamma...$$m_pi...$$m_omega</span></td></tr> |
$table_tr<td>$m_Gamma, $m_Delta, $m_Lambda, $m_Phi, $m_Psi, $m_Pi, $m_Sigma, |
$m_Theta, $m_Xi, $m_Upsilon, $m_Omega |
</td><td><tt>$$m_Gamma, $$m_Delta, $$m_Lambda, $$m_Phi, $$m_Psi, $$m_Pi,</tt> |
</td><td><span class="tt">$$m_Gamma, $$m_Delta, $$m_Lambda, $$m_Phi, $$m_Psi, $$m_Pi,</span> |
$$m_Sigma, $$m_Theta, $$m_Upsilon, $$m_Xi, $$m_Omega</td></tr> |
$table_tr<td>$m_varepsilon, $m_varphi, $m_wp, $m_ell, $m_Re, $m_Im |
</td><td><tt>$$m_varepsilon, $$m_varphi, $$m_wp, $$m_ell, $$m_Re, $$m_Im</tt></td></tr> |
</td><td><span class="tt">$$m_varepsilon, $$m_varphi, $$m_wp, $$m_ell, $$m_Re, $$m_Im</span></td></tr> |
$table_tr<td>$m_aleph, $m_infty, $m_nabla, $m_partial |
</td><td><tt>$$m_aleph, $$m_infty, $$m_nabla, $$m_partial</tt></td></tr> |
</td><td><span class="tt">$$m_aleph, $$m_infty, $$m_nabla, $$m_partial</span></td></tr> |
$table_tr<td>$m_AA, $m_CC, $m_RR, $m_QQ, $m_ZZ ... |
</td><td><tt>$$m_AA, $$m_CC, $$m_RR, $$m_QQ, $$m_ZZ ...</tt></td></tr> |
</td><td><span class="tt">$$m_AA, $$m_CC, $$m_RR, $$m_QQ, $$m_ZZ ...</span></td></tr> |
$table_tr<td>$m_calA, $m_calB,... $m_calM,... $m_calZ |
</td><td><tt>$$m_calA, $$m_calB,... $$m_calM,... $$m_calZ</tt></td></tr> |
</td><td><span class="tt">$$m_calA, $$m_calB,... $$m_calM,... $$m_calZ</span></td></tr> |
$table_tr<td>$m_eufA, $m_eufB,... $m_eufM,... $m_eufZ |
</td><td><tt>$$m_eufA, $$m_eufB,... $$m_eufM,... $$m_eufZ</tt></td></tr> |
</td><td><span class="tt">$$m_eufA, $$m_eufB,... $$m_eufM,... $$m_eufZ</span></td></tr> |
$table_tr<td>$m_eufa, $m_eufb,... $m_eufm,... $m_eufz |
</td><td><tt>$$m_eufa, $$m_eufb,... $$m_eufm,... $$m_eufz</tt></td></tr> |
</td><td><span class="tt">$$m_eufa, $$m_eufb,... $$m_eufm,... $$m_eufz</span></td></tr> |
$table_tr<td>$m_le, $m_ge, $m_pm, $m_times, $m_div |
</td><td><tt>$$m_le, $$m_ge, $$m_pm, $$m_times, $$m_div</tt></td></tr> |
</td><td><span class="tt">$$m_le, $$m_ge, $$m_pm, $$m_times, $$m_div</span></td></tr> |
$table_tr<td>$m_neq, $m_equiv, $m_cong, $m_approx |
</td><td><tt> $$m_neq, $$m_equiv, $$m_cong, $$m_approx</tt></td></tr> |
</td><td><span class="tt"> $$m_neq, $$m_equiv, $$m_cong, $$m_approx</span></td></tr> |
$table_tr<td>$m_leftarrow, $m_rightarrow, $m_mapsto, |
$m_Leftarrow, $m_Rightarrow, $m_Leftrightarrow |
</td><td><tt>$$m_leftarrow, $$m_rightarrow, $$m_mapsto,</tt> |
</td><td><span class="tt">$$m_leftarrow, $$m_rightarrow, $$m_mapsto,</span> |
$$m_Leftarrow, $$m_Rightarrow, $$m_Leftrightarrow</td></tr> |
$table_tr<td>$m_exists, $m_forall, $m_in, $m_emptyset |
</td><td><tt>$$m_exists, $$m_forall, $$m_in, $$m_emptyset</tt></td></tr> |
</td><td><span class="tt">$$m_exists, $$m_forall, $$m_in, $$m_emptyset</span></td></tr> |
$table_tr<td>$m_subset, $m_supset, $m_subseteq, $m_supseteq, |
$m_cap, $m_cup, $m_prec, $m_succ |
</td><td><tt>$$m_subset, $$m_supset, $$m_subseteq, $$m_supseteq,</tt> |
</td><td><span class="tt">$$m_subset, $$m_supset, $$m_subseteq, $$m_supseteq,</span> |
$$m_cap, $$m_cup, $$m_prec, $$m_succ</td></tr> |
$table_tr<td>$m_sum, $m_prod, $m_coprod, $m_surd |
</td><td><tt>$$m_sum, $$m_prod, $$m_coprod, $$m_surd</tt></td></tr> |
</td><td><span class="tt">$$m_sum, $$m_prod, $$m_coprod, $$m_surd</span></td></tr> |
$table_tr<td>$m_int, $m_oint, $m_Vert, $m_oplus, $m_otimes |
</td><td><tt>$$m_int, $$m_oint, $$m_Vert, $$m_oplus, $$m_otimes</tt></td></tr> |
</td><td><span class="tt">$$m_int, $$m_oint, $$m_Vert, $$m_oplus, $$m_otimes</span></td></tr> |
$table_tr<td>$m_bigtriangleup, $m_bigtriangledown, $m_bigvee, $m_bigwedge |
</td><td><tt>$$m_bigtriangleup, $$m_bigtriangledown, $$m_bigvee, $$m_bigwedge</tt> |
</td><td><span class="tt">$$m_bigtriangleup, $$m_bigtriangledown, $$m_bigvee, $$m_bigwedge</span> |
</table> |
Besides, large parentheses are available under the name of |
<tt>$$m_leftpar2, $$m_leftpar3,..., $$m_leftpar10</tt> and |
<tt>$$m_rightpar2, $$m_rightpar3,..., $$m_rightpar10</tt>. They can be used |
to inclose matrices of 2,3,...,10 rows. Ditto for <tt>leftbrace</tt> |
and <tt>rightbrace</tt>. |
<span class="tt">$$m_leftpar2, $$m_leftpar3,..., $$m_leftpar10</span> and |
<span class="tt">$$m_rightpar2, $$m_rightpar3,..., $$m_rightpar10</span>. They can be used |
to inclose matrices of 2,3,...,10 rows. Ditto for <span class="tt">leftbrace</span> |
and <span class="tt">rightbrace</span>. |
/trunk/wims/public_html/modules/help/wimsdoc.en/variables.phtml |
---|
42,8 → 42,8 |
<p> |
Array addressing: if the variable $(emph)l$emphend contains a |
comma-separated list $(emph)a,b,c,d,e$emphend, then the string |
<tt>$$(i[3])</tt> gives <tt>c</tt> after substitution, and |
<tt>$$(i[2 to 4])</tt> tives <tt>b,c,d</tt>, etc. |
<span class="tt">$$(i[3])</span> gives <span class="tt">c</span> after substitution, and |
<span class="tt">$$(i[2 to 4])</span> tives <span class="tt">b,c,d</span>, etc. |
</p><p> |
Two-dimensional array addressing is also available: if</p> |
<pre>$$M=x,y,z;a,b,c</pre> |
133,7 → 133,7 |
$emph module_has_help$emphend and |
$emph module_has_about$emphend |
have value "yes" if the module's directory contains the respective |
.phtml file. These variables are used in the command <tt>!homeref</tt>. |
.phtml file. These variables are used in the command <span class="tt">!homeref</span>. |
</li><li>Certain environment variables setup by httpd are readable by wims |
modules under names starting with $emph httpd_$emphend. For example, the |
environment variable $emph REMOTE_HOST$emphend becomes |
149,4 → 149,3 |
interface, and should be reserved for that purpose. |
</li> |
</ul> |
/trunk/wims/public_html/modules/help/wimsdoc.en/mathfn.phtml |
---|
8,50 → 8,50 |
$table_tr<th>Function</th><th>Description</th><th>How to type</th></tr> |
$table_tr<td>$m_pi |
</td><td>constant known to all</td><td> |
<tt>pi</tt> or <tt>Pi</tt> or <tt>PI</tt></td></tr> |
<span class="tt">pi</span> or <span class="tt">Pi</span> or <span class="tt">PI</span></td></tr> |
$table_tr<td><i>e</i></td><td>base of natural logarithmic</td><td> |
<tt>e</tt> or <tt>E</tt> |
<span class="tt">e</span> or <span class="tt">E</span> |
</td></tr> |
$table_tr<td>|$x|</td><td>absolute value of $x</td><td><tt>abs(x)</td></tr> |
$table_tr<td>|$x|</td><td>absolute value of $x</td><td><span class="tt">abs(x)</td></tr> |
$table_tr<td>sign($x)</td><td>sign of $x: |
<br/> =-1 if $x<0<br/> =0 if $x=0<br/> =1 if $x>0 |
</td><td><tt>sign(x)</td></tr> |
</td><td><span class="tt">sign(x)</td></tr> |
$table_tr<td> |
!instex $$ \sqrt x $$ |
</td><td>square root of $x |
</td><td><tt>sqrt(x)</tt> or <tt>x^(1/2)</tt></td></tr> |
$table_tr<td>?</td><td>closest integer to $x</td><td><tt>rint(x)</tt></td></tr> |
$table_tr<td>?</td><td>largest integer <=$x</td><td><tt>floor(x)</tt></td></tr> |
$table_tr<td>?</td><td>smallest integer >=$x</td><td><tt>ceil(x)</tt> |
</td><td><span class="tt">sqrt(x)</span> or <span class="tt">x^(1/2)</span></td></tr> |
$table_tr<td>?</td><td>closest integer to $x</td><td><span class="tt">rint(x)</span></td></tr> |
$table_tr<td>?</td><td>largest integer <=$x</td><td><span class="tt">floor(x)</span></td></tr> |
$table_tr<td>?</td><td>smallest integer >=$x</td><td><span class="tt">ceil(x)</span> |
$table_tr |
$table_tr<td><i>e<sup>x</sup></td><td>exponential</td><td> |
<tt>exp(x)</tt> or <tt>e^x</tt> or <tt>E^x</tt></td></tr> |
$table_tr</td><td>ln($x)</td><td>natural logarithmic</td><td><tt>log(x)</tt> or <tt>ln(x)</tt></td></tr> |
<span class="tt">exp(x)</span> or <span class="tt">e^x</span> or <span class="tt">E^x</span></td></tr> |
$table_tr</td><td>ln($x)</td><td>natural logarithmic</td><td><span class="tt">log(x)</span> or <span class="tt">ln(x)</span></td></tr> |
$table_tr<td>sin($x)</td><td>trigonometric sine</td><td><tt>sin(x)</td></tr> |
$table_tr<td>cos($x)</td><td>trigonometric cosine</td><td><tt>cos(x)</td></tr> |
$table_tr<td>tg($x)</td><td>trigonometric tangent</td><td><tt>tan(x)</tt> or <tt>tg(x)</tt></td></tr> |
$table_tr<td>ctg($x)</td><td>trigonometric cotangent</td><td><tt>cotan(x)</tt> or <tt>ctg(x)</tt> |
</tt> <br/> or <tt>cot(x)</td></tr> |
$table_tr<td>arcsin($x)</td><td>inverse trigonometric</td><td><tt>asin(x)</tt> or |
<tt>arcsin(x)</tt></td></tr> |
$table_tr<td>arccos($x)</td><td>inverse trigonometric</td><td><tt>acos(x)</tt> or |
<tt>arccos(x)</tt></td></tr> |
$table_tr<td>arctg($x)</td><td>inverse trigonometric</td><td><tt>atan(x)</tt> or |
<tt>arctan(x)</tt> <br/>or <tt>arctg(x)</tt></td></tr> |
$table_tr<td>sh($x)</td><td>parabolic sine</td><td><tt>sh(x)</tt> or <tt>sinh(x)</tt></td></tr> |
$table_tr<td>ch($x)</td><td>parabolic cosine</td><td><tt>ch(x)</tt> or <tt>cosh(x)</tt></td></tr> |
$table_tr<td>th($x)</td><td>parabolic tangent</td><td><tt>th(x)</tt> or <tt>tanh(x)</tt></td></tr> |
$table_tr<td>Argsh($x)</td><td>inverse parabolic</td><td><tt>asinh(x)</tt> or <tt>argsh(x)</tt> |
<br/>or <tt>Argsh(x)</tt></td></tr> |
$table_tr<td>Argch($x)</td><td>inverse parabolic</td><td><tt>acosh(x)</tt> or <tt>argch(x)</tt> |
<br/>or <tt>Argch(x)</tt></td></tr> |
$table_tr<td>Argth($x)</td><td>inverse parabolic</td><td><tt>atanh(x)</tt> or <tt>argth(x)</tt> |
<br/>or <tt>Argth(x)</tt></td></tr> |
$table_tr<td>max(x,y)</td><td>Bigger among x and y</td><td><tt>max(x,y)</tt></td></tr> |
$table_tr<td>min(x,y)</td><td>Smaller among x and y</td><td><tt>min(x,y)</td></tr> |
$table_tr<td>gcd(x,y)</td><td>Greatest Common Divisor</td><td><tt>max(x,y)</td></tr> |
$table_tr<td>lcm(x,y)</td><td>Least Commun Multiple</td><td><tt>min(x,y) |
$table_tr<td>sin($x)</td><td>trigonometric sine</td><td><span class="tt">sin(x)</td></tr> |
$table_tr<td>cos($x)</td><td>trigonometric cosine</td><td><span class="tt">cos(x)</td></tr> |
$table_tr<td>tg($x)</td><td>trigonometric tangent</td><td><span class="tt">tan(x)</span> or <span class="tt">tg(x)</span></td></tr> |
$table_tr<td>ctg($x)</td><td>trigonometric cotangent</td><td><span class="tt">cotan(x)</span> or <span class="tt">ctg(x)</span> |
</span> <br/> or <span class="tt">cot(x)</td></tr> |
$table_tr<td>arcsin($x)</td><td>inverse trigonometric</td><td><span class="tt">asin(x)</span> or |
<span class="tt">arcsin(x)</span></td></tr> |
$table_tr<td>arccos($x)</td><td>inverse trigonometric</td><td><span class="tt">acos(x)</span> or |
<span class="tt">arccos(x)</span></td></tr> |
$table_tr<td>arctg($x)</td><td>inverse trigonometric</td><td><span class="tt">atan(x)</span> or |
<span class="tt">arctan(x)</span> <br/>or <span class="tt">arctg(x)</span></td></tr> |
$table_tr<td>sh($x)</td><td>parabolic sine</td><td><span class="tt">sh(x)</span> or <span class="tt">sinh(x)</span></td></tr> |
$table_tr<td>ch($x)</td><td>parabolic cosine</td><td><span class="tt">ch(x)</span> or <span class="tt">cosh(x)</span></td></tr> |
$table_tr<td>th($x)</td><td>parabolic tangent</td><td><span class="tt">th(x)</span> or <span class="tt">tanh(x)</span></td></tr> |
$table_tr<td>Argsh($x)</td><td>inverse parabolic</td><td><span class="tt">asinh(x)</span> or <span class="tt">argsh(x)</span> |
<br/>or <span class="tt">Argsh(x)</span></td></tr> |
$table_tr<td>Argch($x)</td><td>inverse parabolic</td><td><span class="tt">acosh(x)</span> or <span class="tt">argch(x)</span> |
<br/>or <span class="tt">Argch(x)</span></td></tr> |
$table_tr<td>Argth($x)</td><td>inverse parabolic</td><td><span class="tt">atanh(x)</span> or <span class="tt">argth(x)</span> |
<br/>or <span class="tt">Argth(x)</span></td></tr> |
$table_tr<td>max(x,y)</td><td>Bigger among x and y</td><td><span class="tt">max(x,y)</span></td></tr> |
$table_tr<td>min(x,y)</td><td>Smaller among x and y</td><td><span class="tt">min(x,y)</td></tr> |
$table_tr<td>gcd(x,y)</td><td>Greatest Common Divisor</td><td><span class="tt">max(x,y)</td></tr> |
$table_tr<td>lcm(x,y)</td><td>Least Commun Multiple</td><td><span class="tt">min(x,y) |
</table> |
!exit |
60,4 → 60,3 |
<li>lg(x): log of base 10</li> |
<li>j0(x), j1(x), y0(x), y1(x): Bessel functions</li> |
</ul> |
/trunk/wims/public_html/modules/help/wimsdoc.en/lightpub.phtml |
---|
18,7 → 18,7 |
</p> |
<ol> |
<li>Inline mathematical symbols. Simply write |
<tt>$$m_alpha$$m_le$$m_beta</tt> in your phtml file, and you get |
<span class="tt">$$m_alpha$$m_le$$m_beta</span> in your phtml file, and you get |
$m_alpha$m_le$m_beta under wims. Your visitor will |
be able to choose the size of the font he wants (as well as the instex |
font sizes as below), without you having to worry about this. See also the section |
51,7 → 51,7 |
request to request... |
</li><li>You may define and use substitutable variables. The value of these |
variables may be client-defined, random, etc... And you may put them in |
the sources of <tt>instex</tt>, <tt>insplot</tt>, etc. Imagine the |
the sources of <span class="tt">instex</span>, <span class="tt">insplot</span>, etc. Imagine the |
effect. Such variables also allow you to define your style macros, among |
other things. |
</li><li>Powerful mathematical softwares are directly at your disposal: A simple |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/singlespace.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit singlespace$lst_titend$type_both |
$(lst_syntax)singlespace $emph string$emphend</tt> |
$(lst_syntax)singlespace $emph string$emphend</span> |
$lst_mean Returns $emph string$emphend with all space characters (space, |
tab, newline) replaced by ' ', and multiple occurrences of space characters |
collapsed into single one. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/if.phtml |
---|
1,8 → 1,8 |
!! +exec+ +jump+ |
$lst_tit if$lst_titend$type_exec |
$(lst_syntax)if $emph string1 relation string2 $emphend<br/></tt> |
$(lst_syntax)if $emph string1 relation string2 $emphend<br/></span> |
... (multi-line content)<br/> |
$ <tt>!endif</tt> |
$ <span class="tt">!endif</span> |
$lst_mean Conditional branching: execute the multi-line content between |
$emph!if$emphend line and $emph!endif$emphend line, if $emph |
relation$emphend is verified. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/items2lines.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit items2lines$lst_titend$type_both |
$lst_alias itemstolines, list2lines, listtolines |
$(lst_syntax)items2lines $emph string$emphend</tt> |
$(lst_syntax)items2lines $emph string$emphend</span> |
$lst_mean This command changes multiple items in $emph string$emphend into |
multiple lines. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/item.phtml |
---|
1,7 → 1,7 |
!! +var+ +exec+ +string+ |
$lst_tit item$lst_titend$type_both |
$lst_alias items |
$(lst_syntax)item $emph numlist$emphend of $emph string$emphend</tt> |
$(lst_syntax)item $emph numlist$emphend of $emph string$emphend</span> |
$lst_mean Outputs selected (comma-separated) items of $emph string$emphend, |
according to $emph numlist$emphend. <br/> |
!set numlist_type=item |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/values.phtml |
---|
3,7 → 3,7 |
$(lst_syntax)values $emph fns$emphend for $emph v$emphend=$emph v1$emphend |
to $emph v2$emphend [step $emph st $emphend], or <br/> |
$ !values $emph fns$emphend for $emph v$emphend in |
$emph v1,v2,v3,...$emphend</tt> |
$emph v1,v2,v3,...$emphend</span> |
$lst_mean Outputs a list of values of $emph fns$emphend with |
variable $emph v $emphend replaced successively by values $emph v1$emphend, |
..., $emph v2$emphend. <p> |
13,5 → 13,5 |
This command can also be used to make recursions. If the functions |
$emph fns$emphend contain a variable named $emph last$emphend, this variable |
will take the value of the last step each time. And the starting value |
can be put into the WIMS variable <tt>$$recursion_start</tt>. |
can be put into the WIMS variable <span class="tt">$$recursion_start</span>. |
</p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/listcomplement.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit listcomplement$lst_titend$type_both |
$(lst_syntax)listcomplement $emph list1$emphend in $emph list2$emphend</tt> |
$(lst_syntax)listcomplement $emph list1$emphend in $emph list2$emphend</span> |
$lst_mean Returns items appearing in $emph list2$emphend but not in |
$emph list1$emphend. Repetitive occurrences are eliminated. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/mexec.phtml |
---|
3,7 → 3,7 |
This command is only available for $emph trusted$emphend modules of the |
site. |
$type_both |
$(lst_syntax)mexec $emph command parms$emphend</tt> |
$(lst_syntax)mexec $emph command parms$emphend</span> |
$lst_mean execute a module-private external command $emph command$emphend |
with optional parameters $emph parms$emphend. $emph command$emphend must |
be a valid program name in the module's home directory. But the command is |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/form.phtml |
---|
1,6 → 1,6 |
!! +exec+ +html+ |
$lst_tit form$lst_titend$type_exec |
$(lst_syntax)form $emph cmdvar$emphend</tt> |
$(lst_syntax)form $emph cmdvar$emphend</span> |
$lst_mean Creates a html form pointing to the wims server. <br/> |
Whenever possible, this command should be used instead of a direct use of |
html tag $emph<form>$emphend. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/mailurl.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ |
$lst_tit mailurl$lst_titend$type_both |
$(lst_syntax)mailurl $emph address name ...$emphend</tt> |
$(lst_syntax)mailurl $emph address name ...$emphend</span> |
$lst_mean Creates a javascript-crypted email interface that is difficult |
for spammer-robot to decrypt. |
<p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/deaccent.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit deaccent$lst_titend$type_both |
$(lst_syntax)deaccent $emph string$emphend</tt> |
$(lst_syntax)deaccent $emph string$emphend</span> |
$lst_mean Returns $emph string$emphend with all accented letters (such as |
é, à, ï) folded to their unaccented counterparts. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/fileappend.phtml |
---|
1,7 → 1,7 |
!! +exec+ +file+ |
$lst_tit fileappend$lst_titend$type_exec |
$lst_alias appendfile |
$(lst_syntax)fileappend $emph fname content$emphend</tt> |
$(lst_syntax)fileappend $emph fname content$emphend</span> |
$lst_mean Append $emph content$emphend to file $emph fname$emphend. |
$emph fname$emphend is a file residing in the module's directory, under the |
subdirectory $emph writable$emphend. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/while.phtml |
---|
1,8 → 1,8 |
!! +exec+ +jump+ |
$lst_tit while$lst_titend$type_exec |
$(lst_syntax)while $emph string1 relation string2 $emphend<br/></tt> |
$(lst_syntax)while $emph string1 relation string2 $emphend<br/></span> |
... (multi-line content)<br/> |
$ <tt>!endwhile</tt> |
$ <span class="tt">!endwhile</span> |
$lst_mean Conditional branching: execute the multi-line content between |
$emph!while$emphend line and $emph!endwhile$emphend line, until $emph |
relation$emphend is no longer verified. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/numlist |
---|
15,8 → 15,8 |
means the last $numlist_type, $emph-2$emphend means |
the next-to-last $numlist_type, etc. <p> |
The syntax for a range of integers is |
<tt>$emph n1$emphend to$emph n2$emphend</tt> |
For example, <tt>$emph 2 to -2$emphend</tt> |
<span class="tt">$emph n1$emphend to$emph n2$emphend</span> |
For example, <span class="tt">$emph 2 to -2$emphend</span> |
means the whole $numlist_str except the first |
and the last $(numlist_type)s. |
</p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/makelist.phtml |
---|
3,7 → 3,7 |
$(lst_syntax)makelist $emph templ$emphend for $emph v$emphend=$emph v1$emphend |
to $emph v2$emphend [step $emph st $emphend], or <br/> |
$ !makelist $emph templ$emphend for $emph v$emphend in |
$emph v1,v2,v3,...$emphend</tt> |
$emph v1,v2,v3,...$emphend</span> |
$lst_mean Outputs a list consisting of $emph templ$emphend with |
variable $emph v $emphend successively substituted by values $emph v1$emphend, |
..., $emph v2$emphend. <p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/setdef.phtml |
---|
1,6 → 1,6 |
!! +exec+ +vardef+ |
$lst_tit setdef$lst_titend$type_exec |
$(lst_syntax)setdef $emph defstr$emphend in $emph fname$emphend</tt> |
$(lst_syntax)setdef $emph defstr$emphend in $emph fname$emphend</span> |
$lst_mean Set definitions $emph defstr$emphend in the file |
$emph fname$emphend. |
<p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/instex.phtml |
---|
1,6 → 1,6 |
!! +exec+ +ins+ |
$lst_tit instex$lst_titend$type_pexec |
$(lst_syntax)instex $emph texsource $emphend</tt> |
$(lst_syntax)instex $emph texsource $emphend</span> |
$lst_mean The server program will call TeX to process the (plain) TeX |
source $emph texsource$emphend (after variable substitution), |
translate the result into a picture, and |
9,6 → 9,5 |
whenever possible. In this case Wims will use static instex, improving |
performance dramatically over dynamic instex. <br/> |
The font color of the inserted text can be controled either by the variable |
$emph instex_color$emphend, or by a <tt>\special{color=...}</tt> string |
$emph instex_color$emphend, or by a <span class="tt">\special{color=...}</span> string |
in the $emph texsource$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/listfile.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +file+ |
$lst_tit listfile$lst_titend$type_both |
$lst_alias listfiles, filelist, ls, dir |
$(lst_syntax)listfile $emph filespec$emphend</tt> |
$(lst_syntax)listfile $emph filespec$emphend</span> |
$lst_mean list files specified in $emph filespec$emphend. Options to Linux |
command $emph ls$emphend are accepted. The base directory is the base of |
the wims server. So if you want to list files in the current module, type |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/insplot3d.phtml |
---|
1,6 → 1,6 |
!! +exec+ +ins+ |
$lst_tit insplot3d$lst_titend$type_pexec |
$(lst_syntax)insplot3d $emph plotsource $emphend</tt> |
$(lst_syntax)insplot3d $emph plotsource $emphend</span> |
$lst_mean As for |
$(ref1)cmdlist_insplot_$(ref2)cmdlist_insplot_">insplot</a>, |
but $emph plotsource$emphend |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/wordcnt.phtml |
---|
1,7 → 1,7 |
!! +var+ +string+ |
$lst_tit wordcnt$lst_titend$type_var |
$lst_alias wordcount, wordno, wordnum |
$(lst_syntax)wordcnt $emph string$emphend</tt> |
$(lst_syntax)wordcnt $emph string$emphend</span> |
$lst_mean Returns the number of words in $emph string$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/randword.phtml |
---|
1,5 → 1,5 |
!! +var+ +random+ +string+ |
$lst_tit randword$lst_titend$type_var |
$(lst_syntax)randword $emph str$emphend</tt> |
$(lst_syntax)randword $emph str$emphend</span> |
$lst_mean Returns a random word in $emph str$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/reset.phtml |
---|
1,6 → 1,6 |
!! +exec+ +vardef+ |
$lst_tit reset$lst_titend$type_exec |
$(lst_syntax)reset $emph name1$emphend [ |
,$(emph)name2$emphend,...] </tt> |
,$(emph)name2$emphend,...] </span> |
$lst_mean erase the content of the variable(s) $(emph)name1$emphend, |
$(emph)name2$emphend... |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/randchar.phtml |
---|
1,5 → 1,5 |
!! +var+ +random+ +string+ |
$lst_tit randchar$lst_titend$type_var |
$(lst_syntax)randchar $emph str$emphend</tt> |
$(lst_syntax)randchar $emph str$emphend</span> |
$lst_mean Returns a random character in $emph str$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/exchange.phtml |
---|
1,8 → 1,8 |
!! +exec+ +vardef+ |
$lst_tit exchange$lst_titend$type_exec |
$(lst_syntax)exchange$emph var1$emphend and |
$emph var2$emphend</tt> <br/> |
or <tt>exchange$emph var1$emphend, $emph var2$emphend</tt> |
$emph var2$emphend</span> <br/> |
or <span class="tt">exchange$emph var1$emphend, $emph var2$emphend</span> |
$lst_mean Exchanges the values of the variables $emph var1$emphend |
and $emph var2$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/restart.phtml |
---|
1,6 → 1,6 |
!! +exec+ +html+ |
$lst_tit restart$lst_titend$type_exec |
$(lst_syntax)restart $emph parm$emphend</tt> |
$(lst_syntax)restart $emph parm$emphend</span> |
$lst_mean Restart from a new request with parameters |
$emph parm$emphend, usually for jumping to another module. |
<p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/default.phtml |
---|
1,6 → 1,6 |
!! +exec+ +vardef+ |
$lst_tit default$lst_titend$type_exec |
$(lst_syntax)default $(emph)name$emphend=$(emph)value$emphend</tt> |
$(lst_syntax)default $(emph)name$emphend=$(emph)value$emphend</span> |
$lst_mean put $(emph)value$emphend into the variable $(emph)name$emphend, |
if $(emph)name$emphend is not already defined. <br/> |
$(emph)value$emphend may be a variable command (together with optional parameters). |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/href.phtml |
---|
1,6 → 1,6 |
!! +exec+ +html+ |
$lst_tit href$lst_titend$type_exec |
$(lst_syntax)href $emph parms text$emphend</tt> |
$(lst_syntax)href $emph parms text$emphend</span> |
$lst_mean Creates a hypertext reference pointing to the wims server. <br/> |
Whenever possible, this command should be used instead of a direct use of |
html tag $emph<a href="...">$emphend. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/listunion.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit listunion$lst_titend$type_both |
$(lst_syntax)listunion $emph list1$emphend and $emph list2$emphend</tt> |
$(lst_syntax)listunion $emph list1$emphend and $emph list2$emphend</span> |
$lst_mean Returns items appearing in either $emph list1$emphend or |
$emph list2$emphend. Repetitive occurrences are eliminated. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/for.phtml |
---|
1,12 → 1,12 |
!! +exec+ +loop+ +jump+ |
$lst_tit for$lst_titend$type_exec |
$(lst_syntax)for $emph var $emphend = $emph start $emphend to $emph end |
$emphend [step $emph st $emphend ]</tt> <br/>or<tt> |
$emphend [step $emph st $emphend ]</span> <br/>or<span class="tt"> |
$ !for $emph var $emphend from $emph start $emphend to $emph end $emphend |
[step $emph st $emphend ]</tt> <br/>or<tt> |
$ !for $emph var $emphend in $emph list$emphend<br/></tt> |
[step $emph st $emphend ]</span> <br/>or<span class="tt"> |
$ !for $emph var $emphend in $emph list$emphend<br/></span> |
... (multi-line content)<br/> |
<tt>!next</tt> |
<span class="tt">!next</span> |
$lst_mean For loop. In the first two forms, $emph var $emphend goes from |
$emph start$emphend to $emph end$emphend, with optional step $emph |
st$emphend. <br/> |
18,6 → 18,5 |
within the for loop breaks it. $emph continue $emphend is not yet |
implemented in this version. <br/> |
It is recommended that the variable name $emph var$emphend be added to the |
<tt>!next </tt> line. This has no effect for the time being, but may be |
<span class="tt">!next </span> line. This has no effect for the time being, but may be |
used in future versions of wims. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/tail.phtml |
---|
1,6 → 1,6 |
!! +exec+ +html+ |
$lst_tit tail$lst_titend$type_exec |
$(lst_syntax)tail $emph parm$emphend</tt> |
$(lst_syntax)tail $emph parm$emphend</span> |
$lst_mean Standardized ending for html page outputs. Includes the |
command $emph !homeref$emphend. <p> |
$emph parm$emphend is reserved for future implementation. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/increase.phtml |
---|
1,7 → 1,7 |
!! +exec+ +vardef+ |
$lst_tit increase$lst_titend$type_exec |
$lst_alias advance |
$(lst_syntax)increase $emph var$emphend</tt> |
$(lst_syntax)increase $emph var$emphend</span> |
$lst_mean Increase the value of $(emph)var$emphend by one. The value |
of $emph var$emphend is first rounded to an integer. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/mathmlmath.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit mathmlmath$lst_titend$type_both |
$lst_alias math2mathml |
$(lst_syntax)mathmlmath $emph expr$emphend</tt> |
$(lst_syntax)mathmlmath $emph expr$emphend</span> |
$lst_mean Translate the raw mathematical expression $emph expr$emphend, |
into a form which can be best possibly rendered via mathml tags. The transformations |
are the same as in htmlmath command and the result is in html if mathml is not available. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/column.phtml |
---|
1,7 → 1,7 |
!! +var+ +exec+ +string+ |
$lst_tit column$lst_titend$type_both |
$lst_alias columns |
$(lst_syntax)column $emph numlist$emphend of $emph string$emphend</tt> |
$(lst_syntax)column $emph numlist$emphend of $emph string$emphend</span> |
$lst_mean Outputs selected (comma-separated) columns of |
a matrix $emph string$emphend, |
according to $emph numlist$emphend. Rows of the matrix can be separated |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/embraced.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit embraced$lst_titend$type_both |
$(lst_syntax)embraced $emph opword string$emphend</tt> |
$(lst_syntax)embraced $emph opword string$emphend</span> |
$lst_mean executes an operation $emph opword$emphend in each |
substring of $emph string$emphend enclosed in a pair of curly braces. |
<p> |
9,9 → 9,8 |
</p><p> |
Available $emph opword$emphend: |
</p><ul> |
<li><tt>randitem</tt>. Random item in every embraced text.</li> |
<li><tt>extract</tt>. Extracts the first (outmost) embraced text.</li> |
<li><tt>delete</tt>. Deletes all embraced contents (encluding the |
<li><span class="tt">randitem</span>. Random item in every embraced text.</li> |
<li><span class="tt">extract</span>. Extracts the first (outmost) embraced text.</li> |
<li><span class="tt">delete</span>. Deletes all embraced contents (encluding the |
curly braces).</li> |
</ul> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/randitem.phtml |
---|
1,6 → 1,6 |
!! +var+ +random+ +string+ |
$lst_tit randitem$lst_titend$type_var |
$(lst_syntax)randitem $emph list$emphend</tt> |
$(lst_syntax)randitem $emph list$emphend</span> |
$lst_mean Returns a random item in $emph list$emphend. (Items are |
separated by commas.) |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/sum.phtml |
---|
4,7 → 4,7 |
$(lst_syntax)sum $emph fn$emphend for $emph v$emphend=$emph v1$emphend |
to $emph v2$emphend [step $emph st $emphend], or <br/> |
$ !sum $emph fn$emphend for $emph v$emphend in |
$emph v1,v2,v3,...$emphend</tt> |
$emph v1,v2,v3,...$emphend</span> |
$lst_mean Computes the sum of a function $emph fn(v)$emphend with |
variable $emph v $emphend replaced successively by values $emph v1$emphend, |
..., $emph v2$emphend. <p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/bound.phtml |
---|
2,9 → 2,9 |
$lst_tit bound$lst_titend$type_exec |
$(lst_syntax)bound $emph vname$emphend between [integer] |
$emph v1$emphend and $emph v2$emphend [default $emph defaultvalue$emphend] |
</tt> <br/>or<br/><tt> |
</span> <br/>or<br/><span class="tt"> |
$!bound $emph vname$emphend within $emph list$emphend [default |
$emph defaultvalue$emphend]</tt> |
$emph defaultvalue$emphend]</span> |
$lst_mean bound the range of the variable $emph vname$emphend. Usually |
this is used on user-submitted variables. <br/> |
The first syntax is usually for numerical variables (integer or real, |
17,4 → 17,3 |
the first item of $emph list$emphend, according to whether $emph |
defaultvalue$emphend is defined. <br/> |
In any case, $emph defaultvalue$emphend is optional. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/rename.phtml |
---|
1,17 → 1,17 |
!! +var+ +string+ |
$lst_tit rename$lst_titend$type_both |
$(lst_syntax)rename $emph f$emphend</tt> |
$(lst_syntax)rename $emph f$emphend</span> |
$lst_mean Changes the reference to a file $emph f$emphend, such as a |
graphics file reachable by direct http, into one with a different name using |
the method <tt>!getfile</tt>. |
the method <span class="tt">!getfile</span>. |
<p> |
This command is useful with exercises where important information is carried |
by multimedia files (pictures, audios, movies). It can be used to hide the |
name of the multimedia file that otherwise would give clues to the solution |
of the problem. |
<p>The renamed file must be located within the module, and the |
filename $emph f$emphend should start with $emph$$module_dir$emphend</tt>. |
<p> |
</p><p>The renamed file must be located within the module, and the |
filename $emph f$emphend should start with $emph$$module_dir$emphend</span>. |
</p><p> |
The command returns a string which is the new URL. The file is not |
effectively copied or renamed on the server. |
</p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/sql.bak |
---|
1,5 → 1,5 |
!! +exec+ +var+ |
$lst_tit sql$lst_titend$type_both |
$(lst_syntax)sql $emph SQL command$emphend</tt> |
$(lst_syntax)sql $emph SQL command$emphend</span> |
$lst_mean Query or manage wims database (modules, user, etc). This command |
is only available to privileged modules. (Command no longer available.) |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/nonempty.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit nonempty$lst_titend$type_both |
$lst_alias non_empty |
$(lst_syntax)nonempty $emph obj$emphend $emph content$emphend</tt> |
$(lst_syntax)nonempty $emph obj$emphend $emph content$emphend</span> |
$lst_mean $emph obj$emphend can be $emph item$emphend or $emph line$emphend. |
The non-empty items or lines in $emph content$emphend will be extracted. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/mathsubst.phtml |
---|
2,7 → 2,7 |
$lst_tit mathsubst$lst_titend$type_both |
$lst_alias mathsubstit, mathsubstitute |
$(lst_syntax)mathsubst $emph name="val" $emphend in $emph |
expr$emphend</tt> |
expr$emphend</span> |
$lst_mean Manipulation of mathematical expressions: substitute variable |
$emph name$emphend by $emph val$emphend in $emph expr$emphend. <br/> |
No regular expression is allowed in $emph name$emphend. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/texmath.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit texmath$lst_titend$type_both |
$lst_alias TeXmath math2tex |
$(lst_syntax)texmath $emph expr$emphend</tt> |
$(lst_syntax)texmath $emph expr$emphend</span> |
$lst_mean Translate the mathematical expression $emph expr$emphend |
into a TeX source. If the expression is not a "machine-understandable |
mathematical expression", there is no garanty on the result (at the moment |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/distribute.phtml |
---|
1,13 → 1,13 |
!! +exec+ +vardef+ |
$lst_tit distribute$lst_titend$type_exec |
$(lst_syntax)distribute $emph type string$emphend into |
$emph namelist$emphend</tt> |
$emph namelist$emphend</span> |
$lst_mean Distribute the content of $emph string$emphend into variables |
$emph namelist$emphend. The distribution can be done word by word, item by |
item, character by character or line by line, according to the word |
$emph type$emphend. $emph type $emphend can be one of the following: |
words, items, lines, chars. <p> |
For example, if $emph type$emphend is <tt>words</tt>, then the first |
For example, if $emph type$emphend is <span class="tt">words</span>, then the first |
(resp. second, etc.) variable in $emph namelist$emphend will be set |
to the first (resp. second, etc.) word of $emph string$emphend. |
</p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/items2words.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit items2words$lst_titend$type_both |
$lst_alias itemstowords, list2words, listtowords |
$(lst_syntax)items2words $emph string$emphend</tt> |
$(lst_syntax)items2words $emph string$emphend</span> |
$lst_mean This command changes multiple items in $emph string$emphend into |
multiple words. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/formradio.phtml |
---|
3,10 → 3,10 |
$lst_alias htmlradio |
$(lst_syntax)formradio $emph name$emphend from $emph n1$emphend |
to $emph n2$emphend prompt $emph promptlist $emphend<br/> |
</tt>or<tt> <br/> |
</span> or <span class="tt"> <br/> |
$!formradio $emph name$emphend list |
$emph selectlist$emphend prompt $emph promptlist$emphend |
</tt> |
</span> |
$lst_mean Creates a radio button list menu under a previously defined html form. <br/> |
This command speeds up the creation of radio buttoned menus, as well as simplifies |
the source files. In the parameters, $emph name$emphend defines the |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/pedia.phtml |
---|
1,7 → 1,7 |
!! +exec+ +html+ +variable+ |
$lst_tit pedia$lst_titend$type_both |
$lst_alias encyclopedia, encyclo |
$(lst_syntax)pedia $emph keyword$emphend,$emph name$emphend</tt> |
$(lst_syntax)pedia $emph keyword$emphend,$emph name$emphend</span> |
$lst_mean Creates a hypertext link pointing to an online encyclopedia. |
$emph keyword$emphend will be the name under which the reference is looked |
for, and should be a phrase with one or several words separated by space. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/defof.phtml |
---|
1,7 → 1,7 |
!! +var+ +exec+ +string+ |
$lst_tit defof$lst_titend$type_both |
$lst_alias definitionof, getdef |
$(lst_syntax)defof $emph vname$emphend in $emph fname$emphend</tt> |
$(lst_syntax)defof $emph vname$emphend in $emph fname$emphend</span> |
$lst_mean Returns the definition of variables $emph vname$emphend in the file |
$emph fname$emphend. |
<p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/recordcnt.phtml |
---|
1,7 → 1,7 |
!! +var+ +datafile+ |
$lst_tit recordcnt$lst_titend$type_var |
$lst_alias recordcount, recordno, recordnum |
$(lst_syntax)recordcnt $emph fname$emphend</tt> |
$(lst_syntax)recordcnt $emph fname$emphend</span> |
$lst_mean Returns the number of records in the datafile $emph fname$emphend. |
<br/> |
!read datafile.phtml |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/detag.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit detag$lst_titend$type_both |
$(lst_syntax)detag $emph string$emphend</tt> |
$(lst_syntax)detag $emph string$emphend</span> |
$lst_mean Removes html tags in $emph string$emphend. It is very rudimentary |
and should be used with care. Very useful for security enhancement in some |
occasions (apply to user-supplied strings). |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/varlist.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit varlist$lst_titend$type_both |
$lst_alias listvar |
$(lst_syntax)varlist [nofn] $emph formula $emphend</tt> |
$(lst_syntax)varlist [nofn] $emph formula $emphend</span> |
$lst_mean Manipulation of mathematical expressions: returns list of variable |
names (and function names) appearing in the $emph formula$emphend. <p> |
If the switch $emph nofn$emphend is present, function names will not be |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/module.phtml |
---|
1,9 → 1,9 |
!! +exec+ +var+ +vardef+ |
$lst_tit module$lst_titend$type_both |
$(lst_syntax)module $emph defname$emphend $emph modname$emphend</tt> |
$(lst_syntax)module $emph defname$emphend $emph modname$emphend</span> |
$lst_mean Returns the definition for $emph defname$emphend of the module |
$emph modname$emphend. The most common use of this command is to get the |
title of a module ($emph defname$emphend is then <tt>title</tt>). <br/> |
title of a module ($emph defname$emphend is then <span class="tt">title</span>). <br/> |
The INDEX file of the module $emph modname$emphend will be parsed to look |
for the definition of $emph defname$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/debug.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ |
$lst_tit debug$lst_titend$type_both |
$(lst_syntax)debug $emph parms$emphend</tt> |
$(lst_syntax)debug $emph parms$emphend</span> |
$lst_mean This command is for debugging purposes: it substitutes the |
parameter $emph parms$emphend, and stops the execution with a module error |
sent to the user. The content of the error message contains the result |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/line.phtml |
---|
1,7 → 1,7 |
!! +var+ +exec+ +string+ |
$lst_tit line$lst_titend$type_both |
$lst_alias lines |
$(lst_syntax)line $emph numlist$emphend of $emph string$emphend</tt> |
$(lst_syntax)line $emph numlist$emphend of $emph string$emphend</span> |
$lst_mean Outputs selected lines of $emph string$emphend, according to |
$emph numlist$emphend. <br/> |
!set numlist_type=line |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/eval.phtml |
---|
1,7 → 1,7 |
!! +exec+ +string+ |
$lst_tit eval$lst_titend$type_var |
$lst_alias evalue |
$(lst_syntax)eval $emph expr$emphend</tt> |
$(lst_syntax)eval $emph expr$emphend</span> |
$lst_mean Returns the numerical value of the expression $emph expr$emphend. |
$emph expr $emphend must evaluate to a real number (under the |
current version of wims). The evaluation is internally done in double |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/changeto.phtml |
---|
1,6 → 1,6 |
!! +exec+ +jump+ |
$lst_tit changeto $lst_titend$type_exec |
$(lst_syntax)changeto $emph file$emphend [$emph parm$emphend]</tt> |
$(lst_syntax)changeto $emph file$emphend [$emph parm$emphend]</span> |
$lst_mean Abandon the current file, changing processing to $emph |
file$emphend. $emph file$emphend is as in $emph read$emphend. |
<br/>And the parameter $emph parm$emphend can be accessed from within |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/formbar.phtml |
---|
3,9 → 3,9 |
$lst_alias formradiobar, htmlbar, htmlradiobar |
$(lst_syntax)formbar $emph name$emphend from $emph n1$emphend |
to $emph n2$emphend<br/> |
</tt>or<tt> <br/> |
</span>or<span class="tt"> <br/> |
$!formradio $emph name$emphend list |
$emph selectlist$emphend</tt> |
$emph selectlist$emphend</span> |
$lst_mean Creates a bar of radio buttons under a previously defined html form. <br/> |
This bar should be arranged to represent values from small to big. No |
prompt is given to the user, except the indication that left is smaller. |
15,7 → 15,3 |
items in the list $emph selectlist$emphend. <br/> |
The default of the menu will be the current value of the variable |
$emph $$name$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/solve.phtml |
---|
2,7 → 2,7 |
$lst_tit solve$lst_titend$type_both |
$lst_alias rootof |
$(lst_syntax)solve $emph fn$emphend for $emph v$emphend=$emph v1$emphend |
to $emph v2$emphend</tt> |
to $emph v2$emphend</span> |
$lst_mean Find out (real simple) roots of the function/equation |
$emph fn$emphend |
for the variable $emph v$emphend between $emph v1$emphend and |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/upper.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit upper$lst_titend$type_both |
$lst_alias uppercase, toupper |
$(lst_syntax)upper $emph string$emphend</tt> |
$(lst_syntax)upper $emph string$emphend</span> |
$lst_mean Returns $emph string$emphend with all lower case letters |
replaced by their uppercase counterparts. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/translate.phtml |
---|
2,8 → 2,8 |
$lst_tit translate$lst_titend$type_both |
$(lst_syntax)translate [internal] $emph s1 $emphend to $emph s2 $emphend in $emph |
string$emphend<br/> |
</tt>or <tt>!translate [internal] $emph s1$emphend in $emph string$emphend |
to $emph s2$emphend</tt> |
</span>or <span class="tt">!translate [internal] $emph s1$emphend in $emph string$emphend |
to $emph s2$emphend</span> |
$lst_mean String manipulation: variable substitution is first done on |
$emph string$emphend. Then all occurences of the first (resp. second, ...) |
character of $emph s1$emphend is replaced by the first (resp. second, ...) |
13,5 → 13,3 |
therefore regular expressions are accepted in $emph s1$emphend and |
$emph s2$emphend. Please refer to the man page of $emph tr$emphend for |
details. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/lines2items.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit lines2items$lst_titend$type_both |
$lst_alias linestoitems, lines2list, linestolist |
$(lst_syntax)lines2items $emph string$emphend</tt> |
$(lst_syntax)lines2items $emph string$emphend</span> |
$lst_mean This command changes multiple lines in $emph string$emphend into |
multiple items. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/randint.phtml |
---|
1,6 → 1,6 |
!! +var+ +random+ |
$lst_tit randint$lst_titend$type_var |
$(lst_syntax)randint $emph n1$emphend ,$emph n2$emphend</tt> |
$(lst_syntax)randint $emph n1$emphend ,$emph n2$emphend</span> |
$lst_mean Returns a random integer between $emph n1 $emphend and $emph |
n2 $emphend (inclusive). <br/> |
Substitution and evaluation are done on $emph n1 $emphend and $emph n2 |
9,6 → 9,5 |
$emph n1 $emphend (inclusive). <br/> |
If both $emph n1 $emphend and $emph n2 $emphend are missing, returns 0. |
<br/> |
You can also type <tt>!randint n1,n2 repeat i</tt> to repeatedly generate |
You can also type <span class="tt">!randint n1,n2 repeat i</span> to repeatedly generate |
$emph i$emphend random integers. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/getopt.phtml |
---|
1,6 → 1,6 |
!! +var+ +string+ |
$lst_tit getopt$lst_titend$type_both |
$(lst_syntax)getopt $emph name$emphend in $emph string$emphend</tt> |
$(lst_syntax)getopt $emph name$emphend in $emph string$emphend</span> |
$lst_mean This command allows to extract the definition of a word in |
$emph string$emphend under the form $emph name=value$emphend. |
<p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/itemcnt.phtml |
---|
1,7 → 1,7 |
!! +var+ +string+ |
$lst_tit itemcnt$lst_titend$type_var |
$lst_alias itemcount, itemno, itemnum |
$(lst_syntax)itemcnt $emph list$emphend</tt> |
$(lst_syntax)itemcnt $emph list$emphend</span> |
$lst_mean Returns the number of items in $emph list$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/insmath.phtml |
---|
1,6 → 1,6 |
!! +exec+ +ins+ |
$lst_tit insmath$lst_titend$type_pexec |
$(lst_syntax)insmath $emph formula $emphend</tt> |
$(lst_syntax)insmath $emph formula $emphend</span> |
$lst_mean According to the complicatedness of $emph formula $emphend, |
the server will either render it as beautifully as possible using html |
tags, or translate $emph formula $emphend into TeX source then call TeX |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/formselect.phtml |
---|
3,10 → 3,10 |
$lst_alias htmlselect |
$(lst_syntax)formselect $emph name$emphend from $emph n1$emphend |
to $emph n2$emphend prompt $emph promptlist $emphend<br/> |
</tt>or<tt> <br/> |
</span>or<span class="tt"> <br/> |
$!formselect $emph name$emphend list |
$emph selectlist$emphend prompt $emph promptlist$emphend |
</tt> <br/> |
</span> <br/> |
$lst_mean Creates a select menu under a previously defined html form. <br/> |
This command speeds up the creation of select menus, as well as simplifies |
the source files. In the parameters, $emph name$emphend defines the |
21,6 → 21,6 |
The default of the menu will be the current value of the variable |
$emph $$name$emphend. <br/> |
The variable $emph wims_formselect_switch$emphend may be used to set |
switches (for example by letting <tt>wims_formselect_switch=multiple</tt>, |
switches (for example by letting <span class="tt">wims_formselect_switch=multiple</span>, |
the selection will be multiple. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/insdraw.phtml |
---|
1,7 → 1,7 |
!! +exec+ +ins+ |
$lst_tit insdraw$lst_titend$type_pexec |
$lst_alias inspaint |
$(lst_syntax)insdraw $emph drawsource $emphend</tt> |
$(lst_syntax)insdraw $emph drawsource $emphend</span> |
$lst_mean The server will call a paint program |
($emph flydraw$emphend), submit $emph drawsource$emphend |
as its command (with variables substituted), |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/evalsubst.phtml |
---|
3,7 → 3,7 |
$lst_alias evalsubstit, evalsubstitute, evaluesubst, |
evaluesubstit, evaluesubstitute |
$(lst_syntax)evalsubst $emph name=val $emphend in $emph |
expr$emphend</tt> |
expr$emphend</span> |
$lst_mean Manipulation of mathematical expressions: substitute variable |
$emph name$emphend by $emph val$emphend in $emph expr$emphend, then |
evaluate the expression to a real number. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/exit.phtml |
---|
1,6 → 1,6 |
!! +exec+ +jump+ |
$lst_tit exit$lst_titend$type_exec |
$lst_alias return |
$(lst_syntax)exit</tt> |
$(lst_syntax)exit</span> |
$lst_mean Abandon the current file. If current file is called by another |
file, return to the latter. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/recursion.phtml |
---|
3,7 → 3,7 |
$(lst_syntax)recursion $emph fn$emphend for $emph v$emphend=$emph v1$emphend |
to $emph v2$emphend [step $emph st $emphend], or <br/> |
$ !recursion $emph fn$emphend for $emph v$emphend in |
$emph v1,v2,v3,...$emphend</tt> |
$emph v1,v2,v3,...$emphend</span> |
$lst_mean Computes the outcome of a recursion using the function |
$emph fn$emphend in which the |
variable $emph v $emphend is replaced successively by values $emph v1$emphend, |
13,5 → 13,5 |
The function $emph fn$emphend should use the variable $emph last$emphend |
to indicate the value of the previous recursion step. |
And the starting value can be put into the WIMS variable |
<tt>$$recursion_start</tt>. |
<span class="tt">$$recursion_start</span>. |
</p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/formcheckbox.phtml |
---|
3,10 → 3,10 |
$lst_alias htmlcheckbox |
$(lst_syntax)formcheckbox $emph name$emphend from $emph n1$emphend |
to $emph n2$emphend prompt $emph promptlist $emphend<br/> |
</tt>or<tt> <br/> |
</span>or<span class="tt"> <br/> |
$!formcheckbox $emph name$emphend list |
$emph selectlist$emphend prompt $emph promptlist$emphend |
</tt> |
</span> |
$lst_mean Creates a checkbox list menu under a previously defined html form. <br/> |
This command speeds up the creation of checkboxed menus, as well as simplifies |
the source files. In the parameters, $emph name$emphend defines the |
20,7 → 20,3 |
<br/> |
The default of the menu will be the current value of the variable |
$emph $$name$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/lines2words.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit lines2words$lst_titend$type_both |
$lst_alias linestowords |
$(lst_syntax)lines2words $emph string$emphend</tt> |
$(lst_syntax)lines2words $emph string$emphend</span> |
$lst_mean This command changes multiple lines in $emph string$emphend into |
multiple words. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/read.phtml |
---|
1,7 → 1,7 |
!! +exec+ +jump+ |
$lst_tit read$lst_titend$type_exec |
$lst_alias include, input |
$(lst_syntax)read $emph file$emphend [$emph parm$emphend]</tt> |
$(lst_syntax)read $emph file$emphend [$emph parm$emphend]</span> |
$lst_mean Insert the content of $emph file$emphend, and process it. |
$emph file$emphend must be a valid file name with the module's home |
directory as base directory. (directory structure may be specified in $emph |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/replace.phtml |
---|
2,8 → 2,8 |
$lst_tit replace$lst_titend$type_both |
$(lst_syntax)replace [internal] $emph s1 $emphend by $emph s2 $emphend in $emph |
string$emphend<br/> |
</tt>or <tt>!replace $emph obj$emphend $emph ident$emphend by |
$emph s$emphend in $emph string$emphend</tt> |
</span>or <span class="tt">!replace $emph obj$emphend $emph ident$emphend by |
$emph s$emphend in $emph string$emphend</span> |
$lst_mean String manipulation. <p> |
Under the first syntax, variable substitution is first done on |
$emph string$emphend. Then all occurences of substring $emph s1$emphend |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/words2lines.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit words2lines$lst_titend$type_both |
$lst_alias wordstolines |
$(lst_syntax)words2lines $emph string$emphend</tt> |
$(lst_syntax)words2lines $emph string$emphend</span> |
$lst_mean This command changes multiple words in $emph string$emphend into |
multiple lines. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/select.phtml |
---|
1,9 → 1,9 |
!! +var+ +exec+ +string+ |
$lst_tit select$lst_titend$type_both |
$(lst_syntax)select $emph data$emphend where $emph condition$emphend</tt> |
$(lst_syntax)select $emph data$emphend where $emph condition$emphend</span> |
$lst_mean Outputs rows of a matrix $emph data$emphend, |
according to $emph condition$emphend. Rows of the matrix can be separated |
either by new lines or by semi-colon ``;''. <p> |
The condition can use words <tt>column 1</tt>, <tt>column 2</tt>, etc. to |
The condition can use words <span class="tt">column 1</span>, <span class="tt">column 2</span>, etc. to |
designate comma-separated columns in each row. |
</p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/product.phtml |
---|
4,7 → 4,7 |
$(lst_syntax)product $emph fn$emphend for $emph v$emphend=$emph v1$emphend |
to $emph v2$emphend [step $emph st $emphend], or <br/> |
$ !product $emph fn$emphend for $emph v$emphend in |
$emph v1,v2,v3,...$emphend</tt> |
$emph v1,v2,v3,...$emphend</span> |
$lst_mean Computes the product of a function $emph fn(v)$emphend with |
variable $emph v $emphend replaced successively by values $emph v1$emphend, |
..., $emph v2$emphend. <p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/charcnt.phtml |
---|
1,7 → 1,7 |
!! +var+ +string+ |
$lst_tit charcnt$lst_titend$type_var |
$lst_alias charcount, charno, charnum, lengthof |
$(lst_syntax)charcnt $emph string$emphend</tt> |
$(lst_syntax)charcnt $emph string$emphend</span> |
$lst_mean Returns the number of characters in $emph string$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/let.phtml |
---|
1,6 → 1,6 |
!! +exec+ +vardef+ |
$lst_tit let$lst_titend$type_exec |
$lst_alias def, define, set |
$(lst_syntax)let $emph name$emphend=$(emph)value$emphend</tt> |
$(lst_syntax)let $emph name$emphend=$(emph)value$emphend</span> |
$lst_mean put $(emph)value$emphend into the variable $(emph)name$emphend. |
$(emph)value$emphend may be a variable command (together with optional parameters). |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/hex.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit hex$lst_titend$type_both |
$lst_alias tohex |
$(lst_syntax)hex $emph string$emphend</tt> |
$(lst_syntax)hex $emph string$emphend</span> |
$lst_mean Returns a new string replacing every character in |
$emph string$emphend by its hexadecimal code. |
<p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/randfile.phtml |
---|
1,7 → 1,7 |
!! +var+ +random+ +datafile+ |
$lst_tit randfile$lst_titend$type_var |
$lst_alias randrecord |
$(lst_syntax)randfile $emph fname$emphend</tt> |
$(lst_syntax)randfile $emph fname$emphend</span> |
$lst_mean Returns a random record in the datafile $emph fname$emphend. |
<br/> |
!read datafile.phtml |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/reaccent.phtml |
---|
1,9 → 1,8 |
!! +exec+ +var+ +string+ |
$lst_tit reaccent$lst_titend$type_both |
$(lst_syntax)reaccent $emph string$emphend</tt> |
$(lst_syntax)reaccent $emph string$emphend</span> |
$lst_mean Replace accented letter compositions in $emph string$emphend |
by accented letters (replacing <tt>e'</tt> by é, <tt>a`</tt> by à, |
<tt>i"</tt> by ï, <tt>o^</tt> by ô, etc.) |
The only exception is that ç and Ç are composed from <tt>c~</tt> |
and <tt>C~</tt> respectivement. |
by accented letters (replacing <span class="tt">e'</span> by é, <span class="tt">a`</span> by à, |
<span class="tt">i"</span> by ï, <span class="tt">o^</span> by ô, etc.) |
The only exception is that ç and Ç are composed from <span class="tt">c~</span> |
and <span class="tt">C~</span> respectivement. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/text.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit text $lst_titend$type_both |
$(lst_syntax)text $emph operation $emphend $emph parameter $emphend</tt> |
$(lst_syntax)text $emph operation $emphend $emph parameter $emphend</span> |
$lst_mean This is intended to be a very powerful text manipulation tool, |
allowing very sophisticated processing of long text strings with high speed. <br/> |
Many of the $emph operations$emphend accept masks. A mask is a string |
14,33 → 14,33 |
it fills the rest with '0's. <br/> |
For the time being, implemented $emph operations $emphend are as follows. |
<ul> |
<li><tt>!text common $emph text1$emphend and $emph text2$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text common $emph text1$emphend and $emph text2$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Extracts characters in $emph text1$emphend one by one, for those identical |
to the corresponding characters in $emph text2$emphend and whose |
positions are not masked by $emph maskstring$emphend. |
<li><tt>!text compare $emph text1$emphend and $emph text2$emphend |
</tt> <br/> |
<li><span class="tt">!text compare $emph text1$emphend and $emph text2$emphend |
</span> <br/> |
Compares the strings $emph text1 $emphend and $emph text2 |
$emphend character by character, and returns a mask string with '0's on |
positions where the corresponding characters in $emph text1 $emphend |
and $emph text2$emphend are equal, and '1's otherwise. |
<li><tt>!text copy $emph text$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text copy $emph text$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Returns non-masked characters in $emph text$emphend. |
<li><tt>!text count $emph charlist$emphend in $emph text$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text count $emph charlist$emphend in $emph text$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Returns the number of characters in $emph text$emphend whose positions |
are not masked by $emph maskstring$emphend, and who appear in $emph |
charlist$emphend. |
<li><tt>!text diff $emph text1$emphend from $emph text2$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text diff $emph text1$emphend from $emph text2$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Extracts characters in $emph text1$emphend one by one, for those different |
to the corresponding characters in $emph text2$emphend and whose |
positions are not masked by $emph maskstring$emphend. <br/> |
(Synonyme of diff: differ). |
<li><tt>!text expand $emph text$emphend using $emph maskstring$emphend |
</tt> <br/> |
<li><span class="tt">!text expand $emph text$emphend using $emph maskstring$emphend |
</span> <br/> |
Produces a string, where positions corresponding to '0's in |
$emph maskstring$emphend are filled by ' ' (the space character), |
and where positions corresponding to '1's in $emph maskstring |
48,15 → 48,15 |
characters in $emph text$emphend are used one by one, and the |
resulting string stops when all the characters in $emph text |
$emphend are exhausted (or when the string reaches the length limit). |
<li><tt>!text insert $emph text1$emphend into $emph text2$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text insert $emph text1$emphend into $emph text2$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Returns $emph text2$emphend with non-masked characters replaced by |
characters $emph text1$emphend. Characters in $emph text1 $emphend |
are used one by one (without taking into account the masking), and |
the replacement stops when there is no character left in |
$emph text1$emphend. |
<li><tt>!text interact $emph text1$emphend and $emph text2$emphend |
table $emph itab$emphend [mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text interact $emph text1$emphend and $emph text2$emphend |
table $emph itab$emphend [mask $emph maskstring$emphend]</span> <br/> |
Returns a new text which is result of interactions of characters |
in corresponding positions in $emph text1$emphend and |
$emph text2$emphend. The rule of the interaction is defined in |
76,35 → 76,35 |
<br/> |
If $emph text1$emphend and $emph text2$emphend have different |
lengths, the longer is cut to fit the shorter. |
<li><tt>!text mark $emph charlist$emphend in $emph text$emphend |
</tt> <br/> |
<li><span class="tt">!text mark $emph charlist$emphend in $emph text$emphend |
</span> <br/> |
Returns a mask string with '1's on positions where the |
corresponding character in $emph text$emphend appears in |
$emph charlist$emphend, and with '0's on other positions. |
<li><tt>!text max $emph text1$emphend and $emph text2$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text max $emph text1$emphend and $emph text2$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Returns a string which at each position is the character with highest |
ASCII code between corresponding characters in $emph text1$emphend |
and $emph text2$emphend. The length of the result is that of the |
longest of the two. Masked positions are skipped. |
<li><tt>!text min $emph text1$emphend and $emph text2$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text min $emph text1$emphend and $emph text2$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Returns a string which at each position is the character with lowest |
ASCII code between corresponding characters in $emph text1$emphend |
and $emph text2$emphend. The length of the result is that of the |
shortest of the two. Masked positions are skipped. |
<li><tt>!text occur $emph charlist$emphend in $emph text$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text occur $emph charlist$emphend in $emph text$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Returns characters in $emph charlist$emphend which occur in |
unmasked positions in $emph text$emphend. <br/> |
(Synonymes of occur: appear, occurrence). |
<li><tt>!text remove $emph charlist$emphend in $emph text$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text remove $emph charlist$emphend in $emph text$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Returns $emph text$emphend in which masked characters and characters |
appearing in $emph charlist$emphend are removed. <br/> |
(Synonymes of remove: drop, delete). |
<li><tt>!text reorder $emph text$emphend by $emph orderlist$emphend |
</tt> <br/> |
<li><span class="tt">!text reorder $emph text$emphend by $emph orderlist$emphend |
</span> <br/> |
Returns a reordered $emph text$emphend using the order list |
$emph orderlist$emphend. Reordering is cyclic if $emph orderlist$emphend |
is shorter than $emph text$emphend. <br/> |
113,15 → 113,15 |
items other than integers within the bound, empty string is returned. |
However, unicity check is not performed on items of $emph |
orderlist$emphend. |
<li><tt>!text repeat $emph text$emphend to $emph len$emphend |
</tt> <br/> |
<li><span class="tt">!text repeat $emph text$emphend to $emph len$emphend |
</span> <br/> |
Repeat the string $emph text$emphend cyclicly, up to length |
$emph len$emphend. |
<li><tt>!text reverse $emph text$emphend</tt> <br/> |
<li><span class="tt">!text reverse $emph text$emphend</span> <br/> |
Reverse the order of $emph text$emphend, with the last character coming |
first, etc. |
<li><tt>!text select $emph charlist$emphend in $emph text$emphend |
[mask $emph maskstring$emphend]</tt> <br/> |
<li><span class="tt">!text select $emph charlist$emphend in $emph text$emphend |
[mask $emph maskstring$emphend]</span> <br/> |
Returns $emph text$emphend in which masked characters and characters |
not appearing in $emph charlist$emphend are removed. <br/> |
(Synonymes of select: pick, pickup). |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/mailto.phtml |
---|
3,7 → 3,7 |
This command is only available for $emph trusted$emphend modules of the |
site. |
$type_exec |
$(lst_syntax)mailto $emph ...$emphend</tt> |
$(lst_syntax)mailto $emph ...$emphend</span> |
$lst_mean sends a email to a person whose address is the first line of |
the parameter. <br/> |
The second line is the subject of the message. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/headmenu.phtml |
---|
1,6 → 1,6 |
!! +exec+ +html+ |
$lst_tit headmenu$lst_titend$type_exec |
$(lst_syntax)headmenu</tt> |
$(lst_syntax)headmenu</span> |
$lst_mean Creates a standardised menu bar, usually to be included on the |
top of the page. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/msg.phtml |
---|
1,6 → 1,6 |
!! +exec+ +jump+ |
$lst_tit msg$lst_titend$type_exec |
$(lst_syntax)msg $emph error$emphend [$emph parm$emphend]</tt> |
$(lst_syntax)msg $emph error$emphend [$emph parm$emphend]</span> |
$lst_mean Put an error message of type $emph error$emphend, with eventual |
$emph parm$emphend depending on error. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/lower.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit lower$lst_titend$type_both |
$lst_alias lowercase, tolower |
$(lst_syntax)lower $emph string$emphend</tt> |
$(lst_syntax)lower $emph string$emphend</span> |
$lst_mean Returns $emph string$emphend with all upper case letters |
replaced by their lowercase counterparts. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/insplot.phtml |
---|
1,6 → 1,6 |
!! +exec+ +ins+ |
$lst_tit insplot$lst_titend$type_pexec |
$(lst_syntax)insplot $emph plotsource $emphend</tt> |
$(lst_syntax)insplot $emph plotsource $emphend</span> |
$lst_mean The server program will call an external plotting program |
(gnuplot for the current version), submit $emph plotsource$emphend |
as the 2D plot command (with variables substituted), |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/nospace.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit nospace$lst_titend$type_both |
$(lst_syntax)nospace $emph string$emphend</tt> |
$(lst_syntax)nospace $emph string$emphend</span> |
$lst_mean Collapses all space characters (' ', tab, newline) in |
$emph string$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/linecnt.phtml |
---|
1,7 → 1,7 |
!! +var+ +string+ |
$lst_tit linecnt$lst_titend$type_var |
$lst_alias linecount, lineno, linenum |
$(lst_syntax)linecnt $emph string$emphend</tt> |
$(lst_syntax)linecnt $emph string$emphend</span> |
$lst_mean Returns the number of lines in $emph string$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/randline.phtml |
---|
1,5 → 1,5 |
!! +var+ +random+ +string+ |
$lst_tit randline$lst_titend$type_var |
$(lst_syntax)randline $emph str$emphend</tt> |
$(lst_syntax)randline $emph str$emphend</span> |
$lst_mean Returns a random line in $emph str$emphend. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/shuffle.phtml |
---|
2,8 → 2,8 |
$lst_tit shuffle$lst_titend$type_var |
$lst_alias randperm, randpermute |
$(lst_syntax)shuffle [even|odd] $emph n $emphend</tt>, or<br/> |
<tt>!shuffle [even|odd] $emph list $emphend</tt> |
$(lst_syntax)shuffle [even|odd] $emph n $emphend</span>, or<br/> |
<span class="tt">!shuffle [even|odd] $emph list $emphend</span> |
$lst_mean Randomly permutes a set of $emph n $emphend elements. $emph n |
$emphend must be a positive integer not greater than 1024 in the first |
usage, or is the number of items in $emph list $emphend in the second |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/nosubst.phtml |
---|
1,6 → 1,6 |
!! +var+ |
$lst_tit nosubst$lst_titend$type_var |
$(lst_syntax)nosubst $emph string$emphend</tt> |
$(lst_syntax)nosubst $emph string$emphend</span> |
$lst_mean Returns $emph string$emphend `as-is', without variable |
substitution. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/readproc.phtml |
---|
1,6 → 1,6 |
!! +exec+ +jump+ |
$lst_tit readproc$lst_titend$type_exec |
$(lst_syntax)readproc $emph file$emphend [$emph parm$emphend]</tt> |
$(lst_syntax)readproc $emph file$emphend [$emph parm$emphend]</span> |
$lst_mean Include a variable processing file $emph file$emphend. |
$emph file$emphend must be a valid file name with the module's home |
directory as base directory. (directory structure may be specified in $emph |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/leveldata.phtml |
---|
3,7 → 3,7 |
$lst_alias levelpoints |
$(lst_syntax)leveldata size $emph xsize,ysize$emphend |
ranges $emph x1,x2,y1,y2$emphend function $emph f(x,y)$emphend |
[levels $emph l1,l2,...$emphend]</tt> |
[levels $emph l1,l2,...$emphend]</span> |
$lst_mean Computes coordinates of points on the level curve of |
$emph f(x,y)$emphend, at levels $emph l1,l2,...$emphend (defaults to one |
level 0). <p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/rawmath.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit rawmath$lst_titend$type_both |
$(lst_syntax)rawmath $emph expr$emphend</tt> |
$(lst_syntax)rawmath $emph expr$emphend</span> |
$lst_mean Translate the mathematical expression $emph expr$emphend, |
possibly with common user errors, into a machine-understandable |
mathematical expression. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/warn.phtml |
---|
1,7 → 1,7 |
!! +exec+ +html+ |
$lst_tit warn$lst_titend$type_exec |
$lst_alias warning |
$(lst_syntax)warn $emph subject$emphend</tt> |
$(lst_syntax)warn $emph subject$emphend</span> |
$lst_mean Outputs a warning message related to $emph subject$emphend. |
Does nothing if no warning message about $emph subject$emphend is present. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/append.phtml |
---|
1,6 → 1,6 |
!! +var+ +exec+ +string+ |
$lst_tit append$lst_titend$type_both |
$(lst_syntax)append $emph object s1 $emphend to $emph str $emphend</tt> |
$(lst_syntax)append $emph object s1 $emphend to $emph str $emphend</span> |
$lst_mean String manipulation: append object $emph s1 $emphend to the |
string $emph str$emphend. $emph object$emphend maybe $emph item$emphend, |
$emph word$emphend or $emph line$emphend. $emph s1 $emphend should not be empty before evaluation. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/checkdata.phtml |
---|
1,7 → 1,7 |
!! +var+ +file+ |
$lst_tit checkdata$lst_titend$type_var |
$lst_alias checkdatamodule |
$(lst_syntax)checkdata</tt> |
$(lst_syntax)checkdata</span> |
$lst_mean This command is used to check whether datamodules required by |
the present module are installed on the server. It returns "yes" if every |
required datamodule is installed or if no datamodule is required. Otherwise |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/declosing.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit declosing$lst_titend$type_both |
$(lst_syntax)declosing $emph string$emphend</tt> |
$(lst_syntax)declosing $emph string$emphend</span> |
$lst_mean Strips off enclosing pair of parentheses ((),[],{}) |
in $emph string$emphend. Useful for treatment of user-input |
vectors or sets, where some users use enclosing parentheses and other |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/goto.phtml |
---|
1,5 → 1,5 |
!! +exec+ +jump+ |
$lst_tit goto$lst_titend$type_exec |
$(lst_syntax)goto $emph label$emphend</tt> |
$(lst_syntax)goto $emph label$emphend</span> |
$lst_mean Unconditionally jump to $emph label $emphend. $emph label |
$emphend must be a valid label in the current file. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/listuniq.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit listuniq$lst_titend$type_both |
$lst_alias listunique |
$(lst_syntax)listuniq $emph list$emphend</tt> |
$(lst_syntax)listuniq $emph list$emphend</span> |
$lst_mean Returns items in $emph list$emphend, with repetitive occurrences |
eliminated. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/lookup.phtml |
---|
1,9 → 1,9 |
!! +var+ +exec+ +string+ |
$lst_tit lookup$lst_titend$type_both |
$(lst_syntax)lookup $emph defname$emphend in $emph fname$emphend</tt> |
$(lst_syntax)lookup $emph defname$emphend in $emph fname$emphend</span> |
$lst_mean Returns the definition of word $emph defname$emphend in the file |
$emph fname$emphend which must be a dictionary file in the same syntax as |
for the program <tt>translator</tt> (not necessarily sorted). |
for the program <span class="tt">translator</span> (not necessarily sorted). |
<p> |
$emph fname$emphend may be either in the module directory (in this case the |
module directory need not be specified), or in the directory bases. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/word.phtml |
---|
1,7 → 1,7 |
!! +var+ +exec+ +string+ |
$lst_tit word$lst_titend$type_both |
$lst_alias words |
$(lst_syntax)word $emph numlist$emphend of $emph string$emphend</tt> |
$(lst_syntax)word $emph numlist$emphend of $emph string$emphend</span> |
$lst_mean Outputs selected words of $emph string$emphend, according to |
$emph numlist$emphend. <br/> |
!set numlist_type=word |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/trim.phtml |
---|
1,6 → 1,6 |
!! +var+ +string+ |
$lst_tit trim$lst_titend$type_var |
$(lst_syntax)trim $emph string$emphend</tt> |
$(lst_syntax)trim $emph string$emphend</span> |
$lst_mean Returns $emph string$emphend with leading and trailing spaces |
stripped off. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/char.phtml |
---|
1,7 → 1,7 |
!! +var+ +exec+ +string+ |
$lst_tit char$lst_titend$type_both |
$lst_alias chars |
$(lst_syntax)char $emph numlist$emphend of $emph string$emphend</tt> |
$(lst_syntax)char $emph numlist$emphend of $emph string$emphend</span> |
$lst_mean Outputs selected characters of $emph string$emphend, according to |
$emph numlist$emphend. <br/> |
!set numlist_type=character |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/date.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ |
$lst_tit date$lst_titend$type_both |
$(lst_syntax)date $emph parm$emphend</tt> |
$(lst_syntax)date $emph parm$emphend</span> |
$lst_mean This is simply an interface to the Linux $emph date$emphend |
utility. $emph parm$emphend is the parameter string to the Linux command |
$emph date$emphend, please refer to the man page of $emph date$emphend for |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/rawmatrix.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit rawmatrix$lst_titend$type_both |
$(lst_syntax)rawmatrix $emph expr$emphend</tt> |
$(lst_syntax)rawmatrix $emph expr$emphend</span> |
$lst_mean Translate the matrix $emph expr$emphend, |
possibly with common user errors, into a machine-understandable |
matrix expression. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/htmlmath.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit htmlmath$lst_titend$type_both |
$lst_alias math2html |
$(lst_syntax)htmlmath $emph expr$emphend</tt> |
$(lst_syntax)htmlmath $emph expr$emphend</span> |
$lst_mean Translate the raw mathematical expression $emph expr$emphend, |
into a form which can be best possibly rendered via html tags. |
If the expression is not a "machine-understandable |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/record.phtml |
---|
1,7 → 1,7 |
!! +var+ +exec+ +datafile+ |
$lst_tit record$lst_titend$type_both |
$lst_alias records |
$(lst_syntax)record $emph numlist$emphend of $emph fname$emphend</tt> |
$(lst_syntax)record $emph numlist$emphend of $emph fname$emphend</span> |
$lst_mean Outputs selected records of the datafile $emph fname$emphend, |
according to $emph numlist$emphend. <br/> |
!set numlist_type=record |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/random.phtml |
---|
1,7 → 1,7 |
!! +var+ +random+ |
$lst_tit random$lst_titend$type_var |
$lst_alias randdouble, randfloat |
$(lst_syntax)random $emph n1$emphend ,$emph n2$emphend</tt> |
$(lst_syntax)random $emph n1$emphend ,$emph n2$emphend</span> |
$lst_mean Returns a random real number between $emph n1 $emphend and $emph |
n2 $emphend. <br/> |
Substitution and evaluation are done on $emph n1 $emphend and $emph n2 |
10,6 → 10,5 |
$emph n1 $emphend. <br/> |
If both $emph n1 $emphend and $emph n2 $emphend are missing, returns 0. |
<br/> |
You can also type <tt>!random n1,n2 repeat i</tt> to repeatedly generate |
You can also type <span class="tt">!random n1,n2 repeat i</span> to repeatedly generate |
$emph i$emphend random numbers. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/title.phtml |
---|
1,7 → 1,7 |
!! +exec+ +html+ |
$lst_tit title$lst_titend$type_exec |
$lst_alias htmltitle, wimstitle |
$(lst_syntax)title $emph parm$emphend</tt> |
$(lst_syntax)title $emph parm$emphend</span> |
$lst_mean Puts page's title in a standardized format. <p> |
$emph parm$emphend is reserved for future implementation. |
</p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/instexstatic.phtml |
---|
1,7 → 1,7 |
!! +exec+ +ins+ +var+ |
$lst_tit instexstatic$lst_titend$type_pexec |
$lst_alias instexst, staticinstex, stinstex |
$(lst_syntax)instexstatic $emph gifname texsource $emphend</tt> |
$(lst_syntax)instexstatic $emph gifname texsource $emphend</span> |
$lst_mean This command is obsolete, and will be dropped in future versions. |
Use |
$(ref1)cmdlist_instex_&+cmd_choose=all$(ref2)cmdlist_instex_">!instex</a> |
25,10 → 25,9 |
<p> |
<span class="wims_warning">Important</span>. |
Since version 0.11.5, $emph gifname$emphend is optional, and |
<tt>!instex</tt> will automatically use static insertion whenever there is |
<span class="tt">!instex</span> will automatically use static insertion whenever there is |
no real variable substitution in $emph texsource$emphend. Therefore |
<tt>!instexstatic</tt> is no longuer really necessary, and is provided only |
<span class="tt">!instexstatic</span> is no longuer really necessary, and is provided only |
for backward compatibility. so <font color=red><b>avoid using |
it!</b></font> Use <tt>!instex</tt> instead. |
it!</b></font> Use <span class="tt">!instex</span> instead. |
</p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/words2items.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit words2items$lst_titend$type_both |
$lst_alias wordstoitems, words2list, wordstolist |
$(lst_syntax)words2items $emph string$emphend</tt> |
$(lst_syntax)words2items $emph string$emphend</span> |
$lst_mean This command changes multiple words in $emph string$emphend into |
multiple items. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/exec.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ |
$lst_tit exec$lst_titend$type_both |
$lst_alias execute, run, call |
$(lst_syntax)exec $emph command parms$emphend</tt> |
$(lst_syntax)exec $emph command parms$emphend</span> |
$lst_mean execute external command $emph command$emphend with optional |
parameters $emph parms$emphend. $emph command$emphend must be a valid |
program name in the wims-public directory $emph bin$emphend. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/homeref.phtml |
---|
1,7 → 1,7 |
!! +exec+ +html+ |
$lst_tit homeref$lst_titend$type_exec |
$lst_alias wimsref |
$(lst_syntax)homeref $emph parm$emphend</tt> |
$(lst_syntax)homeref $emph parm$emphend</span> |
$lst_mean Creates a standardised table of links to wims homepage (and |
eventually other things). <br/> |
$emph parm$emphend is reserved for future implementation. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/reinput.phtml |
---|
1,6 → 1,6 |
!! +exec+ +var+ +string+ |
$lst_tit reinput$lst_titend$type_both |
$(lst_syntax)reinput $emph string$emphend</tt> |
$(lst_syntax)reinput $emph string$emphend</span> |
$lst_mean Prepares $emph string$emphend to be inserted into a form input |
or textarea. |
<p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/sort.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit sort$lst_titend$type_both |
$(lst_syntax)sort [nocase] [reverse] [numeric] $emph type$emphend [of] |
$emph string $emphend</tt> |
$emph string $emphend</span> |
$lst_mean Sort $emph string$emphend. The $emph type$emphend of the sort |
may be char, word, list or line. <br/> |
After this command is executed, the sort order is stored in the variable |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/header.phtml |
---|
1,7 → 1,7 |
!! +exec+ +html+ |
$lst_tit header$lst_titend$type_exec |
$lst_alias htmlheader, wimsheader |
$(lst_syntax)header $emph parm$emphend</tt> |
$(lst_syntax)header $emph parm$emphend</span> |
$lst_mean Standardized header for html page outputs. Includes the variable |
$emph wims_html_header$emphend and the commands $emph !headmenu$emphend |
and $emph !title$emphend. <p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/positionof.phtml |
---|
2,11 → 2,11 |
$lst_tit positionof$lst_titend$type_both |
$lst_alias position, positions |
$(lst_syntax)positionof [$(emph)type$emphend] $emph s $emphend in $emph |
string$emphend</tt> |
string$emphend</span> |
$lst_mean Reports the positions of the object $emph s $emphend in |
$emph string$emphend. <br/> |
$emph type$emphend can be <tt>char</tt>, <tt>word</tt>, <tt>item</tt> or |
<tt>line</tt>. If it is specified, then the comparison only takes place for |
$emph type$emphend can be <span class="tt">char</span>, <span class="tt">word</span>, <span class="tt">item</span> or |
<span class="tt">line</span>. If it is specified, then the comparison only takes place for |
corresponding objects of $emph string$emphend which are identical to |
$emph s$emphend. <br/> |
The output of the command is a list of positions (char, word, item or |
15,6 → 15,3 |
If $emph type$emphend is missing, then $emph s$emphend is searched in |
$emph string $emphend as a substring, and the positions reported are |
character positions. |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/filewrite.phtml |
---|
1,7 → 1,7 |
!! +exec+ +file+ |
$lst_tit filewrite$lst_titend$type_exec |
$lst_alias writefile |
$(lst_syntax)filewrite $emph fname content$emphend</tt> |
$(lst_syntax)filewrite $emph fname content$emphend</span> |
$lst_mean Write $emph content$emphend to file $emph fname$emphend. |
$emph fname$emphend is a file residing in the module's directory, under the |
subdirectory $emph writable$emphend. <br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/listintersect.phtml |
---|
1,7 → 1,7 |
!! +exec+ +var+ +string+ |
$lst_tit listintersect$lst_titend$type_both |
$lst_alias listintersection |
$(lst_syntax)listintersect $emph list1$emphend and $emph list2$emphend</tt> |
$(lst_syntax)listintersect $emph list1$emphend and $emph list2$emphend</span> |
$lst_mean Returns items appearing in both $emph list1$emphend and |
$emph list2$emphend. Repetitive occurrences are eliminated. |
/trunk/wims/public_html/modules/help/wimsdoc.en/module.phtml |
---|
79,7 → 79,7 |
</li> |
<li>Any line not fitting into one of the above 4 will generate a wims error |
message. |
</ol> |
</li></ol> |
<hr/><h4>Phtml files</h4> |
<p> |
/trunk/wims/public_html/modules/help/wimsdoc.en/varspecial.phtml |
---|
24,12 → 24,12 |
$emph wims.conf$emphend of the site. Modules should not modify this |
variable. |
$emphend1$var_lst wims_print_precision$emphend0 defines the printing precision when a |
result of evaluation (via <tt>!eval</tt> or <tt>$[...]</tt>) is converted to |
result of evaluation (via <span class="tt">!eval</span> or <span class="tt">$[...]</span>) is converted to |
a character string. Default value: $emph$wims_print_precision$emphend |
(may be modified in wims.conf). |
$emphend1$var_lst wims_warn_$emphend0... is ... |
$emphend1$var_lst wims_compare_precision$emphend0 is used to define error tolerance |
when wims compares two numerical values. Formula: <tt>!ifval a=b</tt> will |
when wims compares two numerical values. Formula: <span class="tt">!ifval a=b</span> will |
return TRUE if <center> |
abs(a-b)*$$wims_compare_precision<abs(a+b)+1/$$wims_compare_precision. </center> |
Default value: $emph$wims_compare_precision$emphend (may be modified in wims.conf). |
37,7 → 37,7 |
module. Default value is 0 (no change). Maybe 1,2,... (increase TeX size) or |
-1,-2... (decrease TeX size). |
$emphend1$var_lst wims_homeref_parm$emphend0 is reserved for future use in the command |
<tt>!homeref</tt>. |
<span class="tt">!homeref</span>. |
$emphend1$var_lst wims_homeref_bgcolor$emphend0 is... |
$emphend1$var_lst wims_rawmath_functions$emphend0 is used to tell rawmath routine that |
the words contained in the variable value should be treated as function names. |
48,17 → 48,17 |
$emphend1$var_lst wims_ref_name$emphend0 gives the addess of the wims serveur (for this server, $wims_ref_name) |
$emphend1$var_lst httpd_HTTP_HOST$emphend0 gives the name of the wims serveur (for this server, $httpd_HTTP_HOST) |
$emphend1$var_lst wims_ref_target$emphend0 defines the target of the command |
<tt>!href, !homeref, !form</tt>. Its value is <b>not</b> automatically |
<span class="tt">!href, !homeref, !form</span>. Its value is <b>not</b> automatically |
reset to empty after the commands. (Defaults to empty string, meaning that |
the target is the current document.) |
$emphend1$var_lst wims_ref_id$emphend0 defines the id in the command |
<tt>!href</tt> (<a ... id=" ">). Its value is automatically |
<span class="tt">!href</span> (<a ... id=" ">). Its value is automatically |
reset to empty after the commands. (Defaults to empty string) |
$emphend1$var_lst wims_ref_class$emphend0 defines the css class in the command |
<tt>!href</tt> (<a ... class=" ">). Its value is automatically |
<span class="tt">!href</span> (<a ... class=" ">). Its value is automatically |
reset to empty after the command. (Defaults to empty string) |
$emphend1$var_lst wims_ref_title$emphend0 defines the title in the command |
<tt>!href</tt> (<a ... title=" ">). Its value is automatically |
<span class="tt">!href</span> (<a ... title=" ">). Its value is automatically |
reset to empty after the command. (Defaults to empty string) |
$emphend1$var_lst wims_html_header$emphend0 is the standardised html header for all |
its modules' html outputs. Its value is defined in the file |
108,7 → 108,7 |
100. Affects only dynamic insertions whose graphics format is jpg. |
$var_lst ins_tag$emphend0 is used for dynamic insertions within a form. |
In this case define<br/> |
<tt>ins_tag=form </tt>$emph name$emphend<br/> |
<span class="tt">ins_tag=form </span>$emph name$emphend<br/> |
where $emph name$emphend is the name of the html element $emph IMG $emphend |
within the form (optional). |
$resetyes |
139,4 → 139,3 |
!! ins_anim_loop |
!! ins_anim_delay |
!! ins_anim_frames |
/trunk/wims/public_html/modules/help/wimsdoc.en/cmdlist.phtml |
---|
7,7 → 7,7 |
!set type_pexec=$lst_type execution command (only valid for phtml files) |
!set type_var =$lst_type variable command |
!set type_both=$lst_type both execution and variable command |
!set lst_syntax=$lstyle Syntax$lstend <tt>! |
!set lst_syntax=$lstyle Syntax$lstend <span class="tt">! |
!set lst_alias=$lstyle Aliases$lstend |
!set lst_mean =$lstyle Meaning$lstend |
28,7 → 28,7 |
Commands may accept parameters which are words following it. Parameter |
fields are separated by white spaces or special words (depending on the command). |
</p> |
<a name="cmdlist_list"></a> |
<a id="cmdlist_list"></a> |
<hr/><h4>Here is the list of $emph$(choose_$cmd_choose)$emphend commands.</h4> |
!if $style!=integral |
43,7 → 43,7 |
<ul> |
!for c in $cmdfiles |
<li><a name="cmdlist_$(c)_"></a> |
<li><a id="cmdlist_$(c)_"></a> |
!if $style != folding |
!read cmd/$c.phtml |
<br/> |
/trunk/wims/public_html/modules/help/wimsdoc.en/interface.phtml |
---|
19,7 → 19,7 |
<th>$wims_name_Address</th><td> |
!line 3 of $interf |
</td> |
$table_tr |
</tr>$table_tr |
<th>Use</th><td> |
!line 4 of $interf |
</td> |
37,20 → 37,20 |
!set name=!line 1 of $interf |
!line 1 of $interf |
</td> |
$table_tr<th>$wims_name_Author</th> |
</tr>$table_tr<th>$wims_name_Author</th> |
<td> |
!line 2 of $interf |
!!!exec $name about |
</td> |
$table_tr<th>Use</th> |
</tr>$table_tr<th>Use</th> |
<td> |
!line 3 of $interf |
</td> |
$table_tr<th>Input data</th> |
</tr>$table_tr<th>Input data</th> |
<td> |
!line 4 of $interf |
</td> |
$table_tr<th>Output data</th> |
</tr>$table_tr<th>Output data</th> |
<td> |
!line 5 of $interf |
</td> |
76,7 → 76,7 |
!exec $name $example |
</pre> |
!endif |
</tr> |
</td></tr> |
$table_end |
!next |