Subversion Repositories wimsdev

Rev

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