!set titb=Grammaire
!set keyw=
!set datm=20041231
!set prev=
!set next=
!set upbl=data
!set dat1=19000101
!set dat2=24000101

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

!exit

:content
<pre class="fichier">
<div class="variable">
	\title{Choix et/est/ai}
	\language{fr}
	
	\text{tableau =randomrow(
	Je suis grand ??et,est,ai?? brun.
	Le café ??est,et,ai?? chaud.
	La fleur ??est,et,ai?? rouge.
	Le soleil ??est,et,ai?? chaud
	J'??ai,est,et?? chaud)}
</div>
<p>
<div class="variable">
	\matrix{A = slib(text/cutchoices \tableau)}
	\text{good=\A[2;]}
	\text{cnt = items(\good)}
	\text{mix = shuffle(\cnt)}
	\matrix{good= \good[\mix]}
	\text{rep = position(1,\mix)}
</div>
<div class="statement">
	\statement{
	Faire le bon choix &#58;
	&lt;p align="center"> \A[1;]  \embed{reply 1} \A[3;] &lt;/p>
	}
</div>
<div class="variable">	
	\answer{}{\rep[1];\good}{type=menu}
</div>
</pre>
