!set titb=Le fichier
!set keyw=
!set datm=20060606
!set prev=
!set next=
!set upbl=nextstep0
!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 a = $m_randint(3<tt class="w">..</tt>12) $m_rbrac
$m_integer$m_lbrac b = \a^2 $m_rbrac
$m_text$m_lbrac nstep = <tt class=reply>r1</tt> $m_rbrac
$m_nextstep$m_lbrac \nstep $m_rbrac
$m_text$m_lbrac commentaire= $m_rbrac </div>
<div class="statement">
$m_statement$m_lbrac Calculez   &#92;(\a^2).
\commentaire
<tt class=comm>\embed</tt>$m_lbrac r \step $m_rbrac  $m_rbrac </div>
<div class="variable">
$m_answer$m_lbrac $m_rbrac$m_lbrac \rep1 $m_rbrac$m_lbrac <tt class="type">type=numeric</tt> $m_rbrac
$m_answer$m_lbrac $m_rbrac$m_lbrac \rep2 $m_rbrac$m_lbrac <tt class="type">type=numeric</tt> $m_rbrac
$m_answer$m_lbrac $m_rbrac$m_lbrac \rep3 $m_rbrac$m_lbrac <tt class="type">type=numeric</tt> $m_rbrac
$m_text$m_lbrac rep = \rep1, \rep2, \rep3 $m_rbrac $m_text$m_lbrac H = \rep[\step - 1] $m_rbrac
$m_text$m_lbrac nstep = \H &#33;= \b <tt class="op">and</tt> \step<=3 ?  r \step&#58; $m_rbrac
$m_condition$m_lbrac $m_rbrac$m_lbrac \b = \rep[1] $m_rbrac$m_lbrac <tt class="type">option=hide</tt> $m_rbrac
$m_condition$m_lbrac $m_rbrac$m_lbrac \b = \rep[2] <tt class="op">or</tt> \b = \rep[1] $m_rbrac$m_lbrac <tt class="type">option=hide</tt> $m_rbrac
$m_condition$m_lbrac $m_rbrac$m_lbrac \b = \rep[3] <tt class="op">or</tt> \b = \rep[1] <tt class="op">or</tt> \b = \rep[2] $m_rbrac$m_lbrac <tt class="type">option=hide</tt> $m_rbrac
$m_text$m_lbrac commentaire=\step = 2 <tt class="op">and</tt> \H &#33;= \b ? Cela est faux, recommencez. $m_rbrac
$m_text$m_lbrac commentaire= \step = 3 <tt class="op">and</tt> \H &#33;= \b ? Vous n'avez
plus le droit qu'à un essai. $m_rbrac </div>
<div class="statement">
$m_feedback$m_lbrac 1 = 1 $m_rbrac$m_lbrac La réponse est \b $m_rbrac </div>
</pre>

