Subversion Repositories wimsdev

Rev

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

  1.  
  2. !set wims_module_error=error: $error
  3.  
  4. <b>Error.</b>
  5.  
  6. !if empty_out iswordof $error
  7.  Your code did not give any output. Please correct it.
  8.  !if $m_reply_err!=$empty
  9.   <pre><font color=red>$m_reply_err</font></pre>
  10.  !endif
  11.  !exit
  12. !endif
  13.  
  14. !if empty_data iswordof $error
  15.  You have submitted an incomplete reply. Please complete it.
  16.  !exit
  17. !endif
  18.  
  19. !if bad_data iswordof $error
  20.  I have failed to evaluate the values you submitted. A typo?
  21.  !exit
  22. !endif
  23.  
  24. !if double_reply iswordof $error
  25.  You have already submitted a reply to this problem, which has been
  26.  analysed and scored. Repetitive replies are ignored. (Don't use the
  27. `reload' button of your browser to repost replies!)
  28.  !exit
  29. !endif
  30.  
  31. !if bad_answer iswordof $error
  32.  !if illegalname iswordof $test
  33.   Your code contains illegal name <tt>$illegal_name</tt>. Please correct.
  34.   !exit
  35.  !endif
  36.  !if lengthoverflow iswordof $test
  37.   Your code has exceeded the length limit. Please rewrite it.
  38.   !exit
  39.  !endif
  40.  Your reply <p><center>
  41.  <b>$bad_name</b> = <tt>$bad_value</tt> <p></center>
  42.  !if unknownword iswordof $test
  43.   !set w=!word 3 of $test
  44.   is not understandable: the word <font color=red>$w</font>
  45.   in the answer is unrelated to this problem. Please correct.
  46.   !exit
  47.  !endif
  48.  !if nocompute iswordof $test
  49.   is not allowed: please carry out the computation yourself, and
  50.   submit the resulting value.
  51.   !exit
  52.  !endif
  53.  !if badform iswordof $test
  54.   is not written as required. Please rewrite it in the correct form.
  55.   !exit
  56.  !endif
  57.  !if notunit iswordof $test
  58.   is only a number: please precise the unit in your answer.
  59.   !exit
  60.  !endif
  61.  is not understandable.
  62.  Please correct the error and resubmit your reply.
  63.  !exit
  64. !endif
  65.  
  66. !if bad_exo iswordof $error
  67.  Due to an error in this exercise (the good answer for <b>$(replyname$i)</b>
  68.  is invalid), it is impossible to test the
  69.  correctness of your answer. The only solution for you is to change the
  70.  exercise; sorry.
  71.  <p>
  72.  Please
  73.  !if $email!=$empty
  74.   !mailurl $email contact the author
  75.  !else
  76.   contact the author
  77.  !endif
  78.  of the exercise if you want to report the error.
  79.  !exit
  80. !endif
  81.  
  82. !if too_many_print iswordof $error
  83.  Your requests for printable versions are excessive.
  84.  !exit
  85. !endif
  86.  
  87.