Subversion Repositories wimsdev

Rev

Rev 15693 | 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.   !! ------------- begin of error message for litexp option factorpol expandpol
  17.   !if notreduced iswordof $test
  18.     !if termealgsimp iswordof $test
  19.       Un terme de votre expression n'est pas correctement simplifié :
  20.      !word -1 of $test
  21. . Vous devez utiliser la notation puissance.
  22.      !exit
  23.    !endif
  24.    !if termenumsimp iswordof $test
  25.      Le coefficient d'un terme de votre expression n'est pas complètement calculé :
  26.      !word -1 of $test
  27. .
  28.      !exit
  29.    !endif
  30.    !if termesamepower iswordof $test
  31.      Votre expression n'est pas réduite
  32.       !let th=!word -1 of $test
  33. .
  34.       Les termes $(th[1]) et $(th[2]) se simplifient.
  35.       !exit
  36.     !endif
  37.     !if parenthesis iswordof $test
  38.       Votre expression n'est pas totalement simplifiée : elle contient des parenthèses.
  39.      !exit
  40.    !endif
  41.  !endif
  42.  !if badform iswordof $test
  43.    !if notcomplete iswordof $test
  44.      Le facteur
  45.      !word -1 of $test
  46.      n'est pas complètement factorisé. Veuillez le factoriser correctement.
  47.       !exit
  48.     !endif
  49.     !if notfactorised iswordof $test
  50.       Votre expression n'est pas factorisée
  51.      !let p=!word -1 of $test
  52.      !char 1 to $p-1 of $dd
  53.      <font color="red">
  54.        &nbsp;
  55.        !char $p of $dd
  56.        &nbsp;
  57.      </font>
  58.      !char $p+1 to -1 of $dd
  59. .      !exit
  60.    !endif
  61.    !if usedivide iswordof $test
  62.      Votre expression n'est pas écrite comme il faut. Veuillez proposer une écriture sans utilisation du symbole divisé.
  63.       !exit
  64.     !endif
  65.     !if fparenthesis iswordof $test
  66.       Votre expression n'est pas totalement simplifiée le facteur
  67.      !word -1 of $test
  68.      contient des parenthèses.
  69.      !exit
  70.    !endif
  71.    !if multifactor iswordof $test
  72.      L'expression peut être écrite plus simplement en utilisant la notation puissance. Notamment pour le facteur :
  73.       !word -1 of $test
  74. .
  75.       !exit
  76.     !endif
  77.     !if twofactorcst iswordof $test
  78.       Votre expression contient deux facteurs constants :
  79.       !word -2 of $test
  80.       et
  81.       !word -1 of $test
  82. .
  83.       !exit
  84.     !endif
  85.     !if factorcontent iswordof $test
  86.       Les facteurs constants doivent aussi être factorisé :
  87.       !word -1 of $test
  88. .
  89.       !exit
  90.     !endif
  91.   !endif
  92.   !! ------------- end of error message for litexp option factorpol expandpol
  93.   !if illegalname iswordof $test
  94.     Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
  95.     !exit
  96.   !endif
  97.   !if lengthoverflow iswordof $test
  98.     Your code has exceeded the length limit. Please rewrite it.
  99.     !exit
  100.   !endif
  101.   !if badsize iswordof $test
  102.     You must select
  103.     !word 3 of $test
  104.      objects.
  105.     !exit
  106.   !endif
  107.   Your reply
  108.   <span span class="tt">$bad_value</span>
  109.   !if unknownword iswordof $test
  110.     !set w=!word 3 of $test
  111.     is not understandable: the word <span class="tt">$w</span>
  112.     is unrelated to this problem or is not allowed.
  113.     Please correct or choose a simpler sentence.
  114.     !exit
  115.   !endif
  116.   !if nocompute iswordof $test
  117.     is not allowed: please carry out the computation yourself, and
  118.     submit the resulting value.
  119.     !exit
  120.   !endif
  121.   !if nocomputecomplex iswordof $test
  122.     is not allowed.
  123.     Please give the complex number in standard rectangular form
  124.     <span class="tt"> a + b i </span>
  125.     where
  126.     <span class="tt">a</span>
  127.     and
  128.     <span class="tt">b</span>
  129.     are computed, and submit the resulting value (for example,
  130.      <span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
  131.     !exit
  132.   !endif
  133.   !if badform iswordof $test
  134.     !if noreduced iswordof $test
  135.       is not an irreducible writing. Please reduce the fraction.
  136.       !exit
  137.     !endif
  138.     is not written as required. Please rewrite it in the correct form.
  139.     !exit
  140.   !endif
  141.   !if notunit iswordof $test
  142.     is only a number: please precise the unit in your answer.
  143.     !exit
  144.   !endif
  145.   !if bad_variable iswordof $test
  146.     is not understandable. It should contain extra variables.
  147.     !exit
  148.   !endif
  149.   is not understandable.
  150.   Please correct the error and resubmit your reply.
  151.   !exit
  152. !endif
  153.  
  154. !if bad_exo iswordof $error
  155.   !for j=1 to 50
  156.     !if bad_exo $j isin $error
  157.       !set whichexo=!nosubst (the good answer for the question $j\
  158.       <span class="tt">$(replyname$j)</span>\
  159.       is invalid)
  160.       !!goto end_bad
  161.       !break
  162.     !endif
  163.   !next
  164.   :end_bad
  165.   Due to an error in this exercise $whichexo, it is impossible to test the
  166.   correctness of your answer. The only solution for you is to change the
  167.   exercise; sorry.
  168.   <p>
  169.   Please
  170.   !if $email!=$empty
  171.     !mailurl $email contact the author
  172.   !else
  173.     contact the author
  174.   !endif
  175.   of the exercise if you want to report the error.
  176.   </p>
  177.   !exit
  178. !endif
  179.  
  180. !if too_many_print iswordof $error
  181.   Your requests for printable versions are excessive.
  182.   !exit
  183. !endif
  184.  
  185. !if chemclick_empty_data iswordof $error
  186.   You have selected no atom or bond. Look at the help.
  187.   !exit
  188. !endif
  189.  
  190. !if chemdraw_empty_data iswordof $error
  191.   You have not modify the applet. Please complete it.
  192.   !exit
  193. !endif
  194.  
  195. !if draw_bad_object iswordof $error
  196.   You did not draw correctly the requested object ($type): try again!
  197.   !exit
  198. !endif
  199.  
  200. !msg $error
  201.