Subversion Repositories wimsdev

Rev

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

  1. !if $error=noexists
  2.   Attention, the exercise requested does not exist. An exercise of the module is taken at random.
  3.   !exit
  4. !endif
  5. !if empty_out iswordof $error
  6.   Your code did not give any output. Please correct it.
  7.   !if $m_reply_err!=$empty
  8.     <pre><span class="wims_warning">$m_reply_err</span></pre>
  9.   !endif
  10.   !exit
  11. !endif
  12.  
  13. !! empty_data bad_data double_reply  are in html/msg.phtml.fr - suppress on test
  14.  
  15. !if bad_answer iswordof $error
  16.   !if illegalname iswordof $test
  17.     Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
  18.     !exit
  19.   !endif
  20.   !if lengthoverflow iswordof $test
  21.     Your code has exceeded the length limit. Please rewrite it.
  22.     !exit
  23.   !endif
  24.   !if badsize iswordof $test
  25.     You must select
  26.     !word 3 of $test
  27.      objects.
  28.     !exit
  29.   !endif
  30.   Your reply
  31.   <span span class="tt">$bad_value</span>
  32.   !if unknownword iswordof $test
  33.     !set w=!word 3 of $test
  34.     is not understandable: the word <span class="tt">$w</span>
  35.     is unrelated to this problem or is not allowed.
  36.     Please correct or choose a simpler sentence.
  37.     !exit
  38.   !endif
  39.   !if nocompute iswordof $test
  40.     is not allowed: please carry out the computation yourself, and
  41.     submit the resulting value.
  42.     !exit
  43.   !endif
  44.   !if nocomputecomplex iswordof $test
  45.     is not allowed.
  46.     Please give the complex number in standard rectangular form
  47.     <span class="tt"> a + b i </span>
  48.     where
  49.     <span class="tt">a</span>
  50.     and
  51.     <span class="tt">b</span>
  52.     are computed, and submit the resulting value (for example,
  53.      <span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
  54.     !exit
  55.   !endif
  56.   !if badform iswordof $test
  57.     !if noreduced iswordof $test
  58.       is not an irreducible writing. Please reduce the fraction.
  59.       !exit
  60.     !endif
  61.     is not written as required. Please rewrite it in the correct form.
  62.     !exit
  63.   !endif
  64.   !if notunit iswordof $test
  65.     is only a number: please precise the unit in your answer.
  66.     !exit
  67.   !endif
  68.   !if bad_variable iswordof $test
  69.     is not understandable. It should contain extra variables.
  70.     !exit
  71.   !endif
  72.   is not understandable.
  73.   Please correct the error and resubmit your reply.
  74.   !exit
  75. !endif
  76.  
  77. !if bad_exo iswordof $error
  78.   !for j=1 to 50
  79.     !if bad_exo $j isin $error
  80.       !set whichexo=!nosubst (the good answer for the question $j\
  81.       <span class="tt">$(replyname$j)</span>\
  82.       is invalid)
  83.       !!goto end_bad
  84.       !break
  85.     !endif
  86.   !next
  87.   :end_bad
  88.   Due to an error in this exercise $whichexo, it is impossible to test the
  89.   correctness of your answer. The only solution for you is to change the
  90.   exercise; sorry.
  91.   <p>
  92.   Please
  93.   !if $email!=$empty
  94.     !mailurl $email contact the author
  95.   !else
  96.     contact the author
  97.   !endif
  98.   of the exercise if you want to report the error.
  99.   </p>
  100.   !exit
  101. !endif
  102.  
  103. !if too_many_print iswordof $error
  104.   Your requests for printable versions are excessive.
  105.   !exit
  106. !endif
  107.  
  108. !if chemclick_empty_data iswordof $error
  109.   You have selected no atom or bond. Look at the help.
  110.   !exit
  111. !endif
  112.  
  113. !if chemdraw_empty_data iswordof $error
  114.   You have not modify the applet. Please complete it.
  115.   !exit
  116. !endif
  117.  
  118. !if draw_bad_object iswordof $error
  119.   You did not draw correctly the requested object ($type): try again!
  120.   !exit
  121. !endif
  122.  
  123. !msg $error
  124.