Subversion Repositories wimsdev

Rev

Rev 16114 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16114 Rev 16121
Line 10... Line 10...
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 bad_data bad_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
 
-
 
25
:empty_data
-
 
26
You have sent an incomplete reply. Please complete it.
-
 
27
!exit
-
 
28
 
24
 
29
:bad_data
25
:bad_data
30
Your data are uncomprehensible or out of context. A typo?
26
Vous avez entré une donnée incompréhensible ou hors contexte.
-
 
27
Erreur de frappe ?
31
!exit
28
!exit
32
 
29
 
33
:bad_reply
30
:bad_reply
34
 No! Your reply is wrong. Please try again.
31
 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
32
!exit
42
 
33
 
43
:unknown_variable
34
:unknown_variable
44
 The variable <b><em>$unknown</em></b> is not defined here.
35
 The variable <b><em>$unknown</em></b> is not defined here.
45
!exit
36
!exit
Line 57... Line 48...
57
:check_fail
48
:check_fail
58
 Software error: please report the bug.
49
 Software error: please report the bug.
59
!exit
50
!exit
60
 
51
 
61
:no_object
52
:no_object
62
 You have nothing at this stage to apply the method <span class="oef_indbad">
53
 You have nothing at this stage to apply the method
63
$badmeth</span>.
54
 <span class="oef_indbad">$badmeth</span>.
64
!exit
55
!exit
65
 
56
 
66
:bad_step
57
:bad_step
67
 You have tried to go to a non-valid step. Bad manipulation?
58
 You have tried to go to a non-valid step. Bad manipulation?
68
!exit
59
!exit
Line 76... Line 67...
76
 Please contact its author in order to fix it.
67
 Please contact its author in order to fix it.
77
!exit
68
!exit
78
 
69
 
79
:bad_env
70
:bad_env
80
 This method is incompatible with the environment of the exercise.
71
 This method is incompatible with the environment of the exercise.
81
!exit
72
!exit
82
 
73
 
83
:fixedgoal
74
:fixedgoal
84
 This exercise does not allow you to modify the goal. Therefore you
75
 This exercise does not allow you to modify the goal. Therefore you
85
 cannot use this method.
76
 cannot use this method.
86
!exit
77
!exit
87
 
78
 
88
:msg
79
:msg
89
 $msg
80
 $msg
90
!exit
81
!exit
91
 
82
 
92
:bad_answer
83
:bad_answer
-
 
84
 Your reply
93
 Your reply <div class="wimscenter">
85
<div class="wimscenter">
94
 <b>$bad_name</b> = <span class="tt">$bad_value</span> </div>
86
 <b>$bad_name</b> = <span class="tt">$bad_value</span> </div>
95
!if unknownword iswordof $test
87
!if unknownword iswordof $test
96
  !set w=!word 3 of $test
88
  !set w=!word 3 of $test
97
  is not understandable:
89
  is not understandable:the word
98
  the word <span class="oef_indbad">$w</span>
90
  <span class="oef_indbad">$w</span>
99
  in the answer is unrelated to this problem. Please correct.
91
  in the answer is unrelated to this problem. Please correct.
100
  !exit
92
  !exit
101
!endif
93
!endif
102
!if nocompute iswordof $test
94
!if nocompute iswordof $test
103
  is not allowed: please carry out the computation yourself, and
95
  is not allowed: please carry out the computation yourself, and
Line 121... Line 113...
121
 is invalid), it is impossible to test the
113
 is invalid), it is impossible to test the
122
 correctness of your answer. The only solution for you is to change the
114
 correctness of your answer. The only solution for you is to change the
123
 exercise; sorry.
115
 exercise; sorry.
124
 <p>
116
 <p>
125
 Please
117
 Please
126
 !if $email!=$empty
118
!if $email!=$empty
127
  !mailurl $email contact the author
119
  !mailurl $email contact the author
128
 !else
120
!else
129
  contact the author
121
  contact the author
130
 !endif
122
!endif
131
 of the exercise if you want to report the error.
123
 of the exercise if you want to report the error.
132
</p>
124
</p>
133
!exit
125
!exit