Subversion Repositories wimsdev

Rev

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

  1. !set wims_module_error=error: $error
  2. !if $oldpenalty<$penalty
  3.   !set penaltymsg=You got a penalty for this serious error.
  4.   !set oldpenalty=$penalty
  5. !endif
  6.  
  7. <b>$wims_name_Error</b>
  8.  
  9. !set n=!wordcnt $error
  10. !if $n>1
  11.   $error
  12.   !exit
  13. !endif
  14.  
  15. !if $error iswordof empty_data bad_data bad_reply double_reply\
  16.     bad_answer bad_exo nofloat unjustified check_fail no_object\
  17.     bad_step illegal_method bad_method bad_env fixedgoal msg\
  18.     unknown_variable
  19.   !goto $error
  20. !else
  21.   !msg $error
  22.   !exit
  23. !endif
  24.  
  25. :empty_data
  26. You have sent an incomplete reply. Please complete it.
  27. !exit
  28.  
  29. :bad_data
  30. Your data are uncomprehensible or out of context. A typo?
  31. !exit
  32.  
  33. :bad_reply
  34.  No! Your reply is wrong. Please try again.
  35. !exit
  36.  
  37. :double_reply
  38.  This exercise is already terminated and scored. You cannot continue to
  39.  reply to it. (Please do not use the `reload' button of your browser to
  40. repost replies!)
  41. !exit
  42.  
  43. :unknown_variable
  44. The variable <b><em>$unknown</em></b> is not defined here.
  45. !exit
  46.  
  47. :nofloat
  48. Decimal numbers are not allowed in this exercise. Write 1/3 instead of
  49. 0.33333, and 1/4 instead of 0.25!
  50. !exit
  51.  
  52. :unjustified
  53. Sorry, but this method does not accept your input without further
  54. justification. You should try other means.
  55. !exit
  56.  
  57. :check_fail
  58. Software error: please report the bug.
  59. !exit
  60.  
  61. :no_object
  62. You have nothing at this stage to apply the method <span class="oef_indbad">
  63. $badmeth</span>.
  64. !exit
  65.  
  66. :bad_step
  67. You have tried to go to a non-valid step. Bad manipulation?
  68. !exit
  69.  
  70. :illegal_method
  71. You have tried to use a non-allowed method. Attempt to cheat?
  72. !exit
  73.  
  74. :bad_method
  75. The method does not exist. This is probably an error of the exercise.
  76. Please contact its author in order to fix it.
  77. !exit
  78.  
  79. :bad_env
  80. This method is incompatible with the environment of the exercise.
  81. !exit
  82.  
  83. :fixedgoal
  84. This exercise does not allow you to modify the goal. Therefore you
  85. cannot use this method.
  86. !exit
  87.  
  88. :msg
  89. $msg
  90. !exit
  91.  
  92. :bad_answer
  93. Your reply <div class="wimscenter">
  94. <b>$bad_name</b> = <span class="tt">$bad_value</span> </div>
  95. !if unknownword iswordof $test
  96.  !set w=!word 3 of $test
  97.  is not understandable:
  98.  the word <span class="oef_indbad">$w</span>
  99.  in the answer is unrelated to this problem. Please correct.
  100.  !exit
  101. !endif
  102. !if nocompute iswordof $test
  103.  is not allowed: please carry out the computation yourself, and
  104.  submit the resulting value.
  105.  !exit
  106. !endif
  107. !if badform iswordof $test
  108.  is not written as required. Please rewrite it in the correct form.
  109.  !exit
  110. !endif
  111. !if notunit iswordof $test
  112.  is only a number: please precise the unit in your answer.
  113.  !exit
  114. !endif
  115. is not understandable.
  116. Please correct the error and resubmit your reply.
  117. !exit
  118.  
  119. :bad_exo
  120. Due to an error in this exercise (the correct answer for <b>$(replyname$i)</b>
  121. is invalid), it is impossible to test the
  122. correctness of your answer. The only solution for you is to change the
  123. exercise; sorry.
  124. <p>
  125. Please
  126. !if $email!=$empty
  127.  !mailurl $email contact the author
  128. !else
  129.  contact the author
  130. !endif
  131. of the exercise if you want to report the error.
  132. </p>
  133. !exit
  134.