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