donnees=0=1 ,2\
\frac{i}{1+e^{i\pi}}\neq\frac{0}{1} ,1\
\frac{i}{1-e^{i\pi}}\neq\frac{0}{1} ,0\
\frac{i}{1-e^{i\pi}}\neq\frac{i}{2} ,2\
2^4=2[4],2\
4^5=4[5],0\
Arg(i)=\frac{\pi}{2}[2\pi],0\
Arg(i)=\frac{\pi}{3}[2\pi],2\
Arg(e^{i\pi}+e^{-i\pi})=Arg(e^{-i\pi}-e^{i\pi})[2\pi] ,1\
Arg(e^{i\frac{\pi}{6}}+e^{-i\frac{\pi}{6}})=Arg(e^{i\frac{7\pi}{6}}+e^{-i\frac{7\pi}{6}})[\pi] ,0\
Arg(e^{i\frac{\pi}{6}}+e^{-i\frac{\pi}{6}})=Arg(e^{i\frac{7\pi}{6}}+e^{-i\frac{7\pi}{6}})[2\pi] ,2\
\sqrt{2}>1 ,0\
\sqrt{3}<\frac{3}{2},2\
\sqrt{e-3}>0,1\
\ln(\sqrt{5}-3)<1,1\
Re(i)<Im(i),0\
Re(i+1)<Im(i+1),2\
Re(i)\leq 2|i|,0\
Arg(i)\neq 0 [2\pi],0\
Arg(0)=0[2\pi],1\
1+1=2,0\
1>2,2\
cos(\frac{\pi}{2})=0,0\
sin(\frac{\pi}{2})=-1,2\
ln(1)=e ,2\
ln(1)=0 ,0\
cos(e)=\frac{e^{ie}+e^{-ie}}{2},0\	 sin(e)=\frac{e^{ie}-e^{-ie}}{2},2

val1=!linecnt of $donnees
tmp=!values v for  v=1  to $val1
val2=!shuffle $tmp
val3=!word 1 of $wims_read_parm
val3=$[$val3]
val4=!word 2 of $wims_read_parm
val2=!item 1 to $[$val3+1] of $val2

!read convention.ini $val4

!if $val3=0
   tmp=!line $val2 of $donnees
   enonce=!item 1 of $tmp
   goodrep=!item 2 of $tmp
!else
   tmp=!item 1 of $val2
   val7=!line $tmp of $donnees
   tmp=!item 2 of $val2
   val8=!line $tmp of $donnees
   val12=!shuffle 1,2,3
   val5=!item 1 of $val12
   val6=!item $val5 of tab_et,tab_ou,tab_imp
   val9=!item 1 of $val7
   val10=!item 1 of $val8
   val11=!item $val5 of $connect
   enonce=$val9 \quad $val11 \quad $val10
   tmp1=!item 2 of $val7
   tmp2=!item 2 of $val8
   goodrep=!line $[$tmp1+1] of $($val6)
   goodrep=!item $[$tmp2+1] of $goodrep
   !if $val3=2 
       val30=$val3
       val13=!item 2 of $val12
       val14=!item $val13 of tab_et,tab_ou,tab_imp
       val18=!item $val13 of $connect
       tmp=!item 3 of $val2
       val15=!line $tmp of $donnees       
       val17=!item 1 of $val15
       val16=!item 2 of $val15
       tmp=!randint 1,2
       !if $tmp=1
          enonce= ($enonce) \quad $val18 \quad $val17
          tmp=!line $[$goodrep+1] of $($val14)
          goodrep=!item $[$val16+1] of $tmp
       !else
          enonce= $val17 \quad $val18 \quad ($enonce)
          tmp=!line $[$val16+1] of $($val14)
          goodrep=!item $[$goodrep+1] of $tmp 
       !endif
   !endif
!endif
goodrep=!item $[$goodrep+1] of $bool
badrep1=$bool
badrep2=$empty
enonce=\($enonce)
question=Evaluer<center> $enonce </center> avec les conventions ci-contres :<p>
!if $val3>0
   convent=convention.phtml noquant
!else
   convent=$empty
!endif
affgoodrep=100
chronodirect=non