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