!set titb=Un exemple du type dragfill
!set keyw=
!set datm=20040621
!set prev=
!set next=
!set upbl=main
!set dat1=19000101
!set dat2=24000101


!if $wims_read_parm!=$empty
 !goto $wims_read_parm
!endif
!exit

:content

!read primitives.phtml 1, embed, definition, &nbsp; 
<pre class = "cc">
<div class="variable">
$m_text$m_lbrac size = 65x40 $m_rbrac
$m_integer$m_lbrac a = $m_randint(2<tt class="w">..</tt>4) $m_rbrac
$m_integer$m_lbrac b = \a + $m_randint(1<tt class="w">..</tt>7) $m_rbrac
$m_integer$m_lbrac c = \a*\b $m_rbrac
$m_matrix$m_lbrac good =\c, \b $m_rbrac
$m_text$m_lbrac rlist = <tt class=reply>r1</tt>,<tt class=reply>r2</tt> $m_rbrac </div><div class="statement">
$m_statement$m_lbrac Ecrire la bonne égalité
  &lt;center&gt;
   &lt;table border = 0&gt;
    &lt;tr&gt;
     &lt;td&gt;
      \a = 
        <tt class=comm>\for</tt>$m_lbrac t = 1 <tt class="w">to</tt> 2 $m_rbrac$m_lbrac 
          <tt class=comm>\embed</tt>$m_lbrac \rlist&#91;\t&#93;,\size $m_rbrac 
        <tt class=comm>\if</tt>$m_lbrac \t = 1 $m_rbrac$m_lbrac &#58; $m_rbrac 
        $m_rbrac &lt;/td&gt;
    &lt;/tr&gt;
   &lt;/table&gt;
  &lt;/center&gt; $m_rbrac </div><div class="variable">
$m_answer$m_lbrac $m_rbrac$m_lbrac \good&#91;1&#93; $m_rbrac$m_lbrac <tt class="type">type = dragfill</tt> $m_rbrac 
$m_answer$m_lbrac $m_rbrac$m_lbrac \good&#91;2&#93; $m_rbrac$m_lbrac <tt class="type">type = dragfill</tt> $m_rbrac 
</div></pre>
<div class="aide">
Un exemple très simple de l'emploi du type <tt class = "c">dragfill</tt>. Ici, le deuxième champ de la commande <tt class="c"><tt class=comm>\embed</tt></tt> est la taille de l'image qu'on veut "remplir".
</div></pre>

