Accueil › Forums › Programmation WIMS › Programmation dans le langage wims › pb avec hint › Répondre à : pb avec hint
10 avril 2017 à 18:42
#3811
Modérateur
::
Bonjour,
Je confirme le bug.
Par contre je te propose une autre solution avec la commande help qui ouvre une autre fenêtre dans laquelle se trouve l’information utile. L’élève donc a sous les yeux le supplément d’information contrairement à la commande \hint qui demande un effort de mémorisation.
Voili voilou
\steps{r1;r2}
\statement{
\if{\step=1}{2+5=\embed{r1}}
\if{\step=2 and \sc_reply1=1}{juste ! 2*5=\embed{r2}}
\if{\step=2 and \sc_reply1!=1}{faux ! 2*5=\embed{r2}}
<br />
<br />
<a class="bouton" \special{help blabla, Aide1}</a>
}
\answer{}{7}{type=numeric}{option=nonstop}
\answer{}{10}{type=numeric}
\help{
\if{ \help_subject issametext blabla and \step=1}{c’est une somme}
\if{ \help_subject issametext blabla and \step=2}{c’est un produit}
}