1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
|
!if $error=noexists
Attention, the exercise requested does not exist. An exercise of the module is taken at random.
!exit
!endif
!if empty_out iswordof $error
Your code did not give any output. Please correct it.
!if $m_reply_err!=$empty
<pre><span class="wims_warning">$m_reply_err</span></pre>
!endif
!exit
!endif
!! empty_data bad_data double_reply are in html/msg.phtml.fr - suppress on test
!if bad_answer iswordof $error
!! ------------- begin of error message for litexp option polfactor polexpand
!if notreduced iswordof $test
!if termealgsimp iswordof $test
!! TODO_lang termealgsimp
!changeto oef/fr/msg.phtml
!endif
!if termenumsimp iswordof $test
!! TODO_lang termenumsimp
!changeto oef/fr/msg.phtml
!endif
!if termesamepower iswordof $test
!! TODO_lang termesamepower
!changeto oef/fr/msg.phtml
!endif
!if parenthesis iswordof $test
!! TODO_lang parenthesis
!changeto oef/fr/msg.phtml
!endif
!if power0 iswordof $test
!! TODO_lang power0
!changeto oef/fr/msg.phtml
!endif
!if constantbefore iswordof $test
!! TODO_lang constantbefore
!changeto oef/fr/msg.phtml
!endif
!endif
!if badform iswordof $test
!if notcomplete iswordof $test
!! TODO_lang notcomplete
!changeto oef/fr/msg.phtml
!endif
!if notfactorised iswordof $test
!! TODO_lang notfactorised
!changeto oef/fr/msg.phtml
!endif
!if usebadchar iswordof $test
!! TODO_lang usebadchar
!changeto oef/fr/msg.phtml
!exit
!endif
!if uselessfactor iswordof $test
!! TODO_lang uselessfactor
!changeto oef/fr/msg.phtml
!exit
!endif
!if fparenthesis iswordof $test
!! TODO_lang fparenthesis
!changeto oef/fr/msg.phtml
!endif
!if multifactor iswordof $test
!! TODO_lang multifactor
!changeto oef/fr/msg.phtml
!endif
!if twofactorcst iswordof $test
!! TODO_lang twofactorcst
!changeto oef/fr/msg.phtml
!endif
!if factorcontent iswordof $test
!! TODO_lang factorcontent
!changeto oef/fr/msg.phtml
!endif
!endif
!! ------------- end of error message for litexp option polfactor polexpand
!if illegalname iswordof $test
Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
!exit
!endif
!if lengthoverflow iswordof $test
Your code has exceeded the length limit. Please rewrite it.
!exit
!endif
!if badsize iswordof $test
You must select
!word 3 of $test
objects.
!exit
!endif
Your reply
<span class="tt">$bad_value</span>
!if unknownword iswordof $test
!set w=!word 3 of $test
is not understandable: the word <span class="tt">$w</span>
is unrelated to this problem or is not allowed.
Please correct or choose a simpler sentence.
!exit
!endif
!if nocompute iswordof $test
is not allowed: please carry out the computation yourself, and
submit the resulting value.
!exit
!endif
!if nocomputecomplex iswordof $test
is not allowed.
Please give the complex number in standard rectangular form
<span class="tt"> a + b i </span>
where
<span class="tt">a</span>
and
<span class="tt">b</span>
are computed, and submit the resulting value (for example,
<span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
!exit
!endif
!if badform iswordof $test
!if noreduced iswordof $test
is not an irreducible writing. Please reduce the fraction.
!exit
!endif
is not written as required. Please rewrite it in the correct form.
!exit
!endif
!if notunit iswordof $test
is only a number: please precise the unit in your answer.
!exit
!endif
!if bad_variable iswordof $test
is not understandable. It should contain extra variables.
!exit
!endif
is not understandable.
Please correct the error and resubmit your reply.
!exit
!endif
!if bad_exo iswordof $error
!for j=1 to 50
!if bad_exo $j isin $error
!set whichexo=!nosubst (the good answer for the question $j\
<span class="tt">$(replyname$j)</span>\
is invalid)
!!goto end_bad
!break
!endif
!next
:end_bad
Due to an error in this exercise $whichexo, it is impossible to test the
correctness of your answer. The only solution for you is to change the
exercise; sorry.
<p>
Please
!if $email!=$empty
!mailurl $email contact the author
!else
contact the author
!endif
of the exercise if you want to report the error.
</p>
!exit
!endif
!if too_many_print iswordof $error
Your requests for printable versions are excessive.
!exit
!endif
!if chemclick_empty_data iswordof $error
You have selected no atom or bond. Look at the help.
!exit
!endif
!if chemdraw_empty_data iswordof $error
You have not modify the applet. Please complete it.
!exit
!endif
!if draw_bad_object iswordof $error
You did not draw correctly the requested object ($type): try again!
!exit
!endif
!msg $error
|