Subversion Repositories wimsdev

Rev

Rev 3614 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

Reload the page. Up to 2 arguments.<ul>
<li>Argument 1: the text to show on the link.
<li>Argument 2 (optional): the position to go (anchor).
</ul>
<p>
Reloading a page is interesting when it contains 
\link{def}{random variables}. In this case, to each reloading, the resulting
page is different.

\def{integer nn=random(1..1000)}
For example, in this page we have defined the variable <tt>\\nn</tt>
to be a random integer between 1 and 1000, by the command
<tt>\\def{integer nn=random(1..1000)}</tt>. Here is its current value:
<p><center><tt>\\nn</tt>=\nn.</center><p>
Now 
\reload{reload the page}{reload} (<tt>\\reload{reload the page}</tt>)
to see the value of <tt>\\nn</tt> change.
<small>(The button ``reload'' of the browser will not produce this effect.)</small>
<p>

Generated by GNU Enscript 1.6.5.90.