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