Subversion Repositories wimsdev

Rev

Rev 571 | Rev 10482 | 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 version of the last step will be<p><center>
  12.   <table border=0 bgcolor="#d0c0d0" width="80%"><tr><td align=center>
  13.   !line $step of $good
  14.   </table> </center>
  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<p><center>
  37.   <table border=0 bgcolor="#d0c0d0" width="80%"><tr><td align=center>
  38.   !line $step of $good
  39.   </table> </center> <p>
  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.  !exit
  49. !endif
  50.  
  51. !if bad_step iswordof $error
  52.  !if $badstep=0
  53.   You think that all the steps are correct.
  54.  !else
  55.   You think that the first bad step is number $badstep.
  56.  !endif
  57.  !if $bad_steps=$empty
  58.   You are wrong: all the steps are correct.
  59.   <p>
  60.   !line $badstep of $remarks
  61.  !else
  62.   No, the <em>first</em> bad step is number $sss. <p>
  63.   !if $badstep>0
  64.    !if $badstep isitemof $bad_steps
  65.     The step number $badstep is indeed wrong, but it is not the first bad
  66.     step.
  67.    !else
  68.     On the contrary, step $badstep is quite right.
  69.    !endif
  70.   !else
  71.    $bad_reason <p>
  72.    !set rrr=!item 1 of $bad_reasons
  73.    !read reasons/$rrr.det
  74.   !endif
  75.  !endif
  76.  <p>Your score: $module_score/10.
  77.  !exit
  78. !endif
  79.  
  80. !if double_reply=$error
  81.  You have already submitted a reply to this problem, which has been
  82.  analysed and scored. Repetitive replies are ignored. (Don't use the
  83. `reload' button of your browser to repost replies!)
  84.  !exit
  85. !endif
  86.  
  87.