Subversion Repositories wimsdev

Rev

Rev 3511 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !if dontknow iswordof $error
  3.  In fact, the last step
  4.  !if $step_reason=OK
  5.   is correct. $step_remark
  6.  !else
  7.   is wrong. $step_remark
  8.   <p>
  9.   !read reasons/$step_reason.det
  10.   <p>
  11.   A correct versionof the last step will be
  12.   <table class="wimscenter" border="0" bgcolor="#d0c0d0" width="80%"><tr><td align="center">
  13.   !line $step of $good
  14.  </td></tr> </table>
  15.  !endif
  16.  <p>It's a pity that you didn't see all this.
  17.  !goto gnext
  18. !endif
  19.  
  20. <b>Error.</b>
  21.  
  22. !if step_error iswordof $error
  23.  !if $step_reason=OK
  24.   But this step IS perfectly right!
  25.   $step_remark
  26.  !else
  27.   !if $ask_reason>0 and $step_reason!=$ans
  28.    No, the last step is wrong, but not for what you think to be.
  29.   !else
  30.    But no, there is well an error in the last step.
  31.   !endif
  32.   $step_remark
  33.   <p>
  34.   !read reasons/$step_reason.det
  35.   <p>
  36.   A correct version of the last step will be
  37.   <table class="wimscenter wimsnoborder" style="width:80%"><tr><td>
  38.   !line $step of $good
  39.   </td></tr></table>
  40.  !endif
  41.  :gnext
  42.  <p>
  43.  !if $step<$stepcnt
  44.   !href cmd=reply&ans=next Pass to the next step.
  45.  !else
  46.   This is the end of the exercise. Your score: $module_score/10.
  47.  !endif
  48.  </p>
  49.  !exit
  50. !endif
  51.  
  52. !if bad_step iswordof $error
  53.  !if $badstep=0
  54.   You think that all the steps are correct.
  55.  !else
  56.   You think that the first bad step is number $badstep.
  57.  !endif
  58.  !if $bad_steps=$empty
  59.   You are wrong: all the steps are correct.
  60.   <p>
  61.   !line $badstep of $remarks
  62.  !else
  63.   No, the <em>first</em> bad step is number $sss. <p>
  64.   !if $badstep>0
  65.    !if $badstep isitemof $bad_steps
  66.     The step number $badstep is indeed wrong, but it is not the first bad
  67.     step.
  68.    !else
  69.     On the contrary, step $badstep is quite right.
  70.    !endif
  71.   !else
  72.    $bad_reason <p>
  73.    !set rrr=!item 1 of $bad_reasons
  74.    !read reasons/$rrr.det
  75.   !endif
  76.  !endif
  77.  <p>Your score: $module_score/10.
  78.  !exit
  79. !endif
  80.  
  81. !!!if double_reply=$error
  82. !! You have already submitted a reply to this problem, which has been
  83. !! analysed and scored. Repetitive replies are ignored. (Don't use the
  84. !! `reload' button of your browser to repost replies!)
  85. !! !exit
  86. !!!endif
  87.  
  88. !msg $error
  89.  
  90.