Subversion Repositories wimsdev

Rev

Rev 20 | Rev 14628 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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