![]() ![]() | ![]() |
version 1.12, 2010/08/13 04:45:00 | version 1.13, 2010/08/20 14:08:07 |
---|---|
Line 26 Expressions are displayed using the math | Line 26 Expressions are displayed using the math |
contents | contents |
\begin{verbatim} | \begin{verbatim} |
<script type="loncapa/perl"> | <script type="loncapa/perl"> |
$table=`<table>'; | $table='<table>'; |
for ($i=1;$i<=10;$i++) { | for ($i=1;$i<=10;$i++) { |
$table.=`<tr><td>'.$i.`</td><td>'.&random(1,10,1).`</td></tr>'; | $table.='<tr><td>'.$i.'</td><td>'.&random(1,10,1).'</td></tr>'; |
} | } |
$table.=`</table>'; | $table.='</table>'; |
</script> | </script> |
<parse>$table</parse> | <parse>$table</parse> |
\end{verbatim} | \end{verbatim} |