Subversion Repositories wimsdev

Rev

Rev 17361 | 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
18206 reyssat 52
    !if usebadchar iswordof $test
53
      !! TODO_lang usebadchar
17356 guerimand 54
      !changeto oef/fr/msg.phtml
18206 reyssat 55
      !exit
17282 guerimand 56
    !endif
18206 reyssat 57
    !if uselessfactor iswordof $test
58
      !! TODO_lang uselessfactor
59
      !changeto oef/fr/msg.phtml
60
      !exit
61
    !endif
17282 guerimand 62
    !if fparenthesis iswordof $test
17356 guerimand 63
      !! TODO_lang fparenthesis
64
      !changeto oef/fr/msg.phtml
17282 guerimand 65
    !endif
66
    !if multifactor iswordof $test
17356 guerimand 67
      !! TODO_lang multifactor
68
      !changeto oef/fr/msg.phtml
17282 guerimand 69
    !endif
70
    !if twofactorcst iswordof $test
17356 guerimand 71
      !! TODO_lang twofactorcst
72
      !changeto oef/fr/msg.phtml
17282 guerimand 73
    !endif
74
    !if factorcontent iswordof $test
17356 guerimand 75
      !! TODO_lang factorcontent
76
      !changeto oef/fr/msg.phtml
17282 guerimand 77
    !endif
78
  !endif
17356 guerimand 79
  !! ------------- end of error message for litexp option polfactor polexpand
13538 bpr 80
  !if illegalname iswordof $test
81
    Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
82
    !exit
83
  !endif
84
  !if lengthoverflow iswordof $test
85
    Your code has exceeded the length limit. Please rewrite it.
86
    !exit
87
  !endif
14997 bpr 88
  !if badsize iswordof $test
89
    You must select
90
    !word 3 of $test
91
     objects.
92
    !exit
93
  !endif
13538 bpr 94
  Your reply
17361 bpr 95
  <span class="tt">$bad_value</span>
13538 bpr 96
  !if unknownword iswordof $test
97
    !set w=!word 3 of $test
98
    is not understandable: the word <span class="tt">$w</span>
99
    is unrelated to this problem or is not allowed.
100
    Please correct or choose a simpler sentence.
101
    !exit
102
  !endif
103
  !if nocompute iswordof $test
104
    is not allowed: please carry out the computation yourself, and
105
    submit the resulting value.
106
    !exit
107
  !endif
108
  !if nocomputecomplex iswordof $test
109
    is not allowed.
110
    Please give the complex number in standard rectangular form
14997 bpr 111
    <span class="tt"> a + b i </span>
112
    where
113
    <span class="tt">a</span>
114
    and
115
    <span class="tt">b</span>
116
    are computed, and submit the resulting value (for example,
117
     <span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
13538 bpr 118
    !exit
119
  !endif
120
  !if badform iswordof $test
14997 bpr 121
    !if noreduced iswordof $test
15693 reyssat 122
      is not an irreducible writing. Please reduce the fraction.
14997 bpr 123
      !exit
124
    !endif
13538 bpr 125
    is not written as required. Please rewrite it in the correct form.
126
    !exit
127
  !endif
128
  !if notunit iswordof $test
129
    is only a number: please precise the unit in your answer.
130
    !exit
131
  !endif
132
  !if bad_variable iswordof $test
133
    is not understandable. It should contain extra variables.
134
    !exit
135
  !endif
136
  is not understandable.
137
  Please correct the error and resubmit your reply.
20 reyssat 138
  !exit
139
!endif
140
 
141
!if bad_exo iswordof $error
13538 bpr 142
  !for j=1 to 50
143
    !if bad_exo $j isin $error
144
      !set whichexo=!nosubst (the good answer for the question $j\
145
      <span class="tt">$(replyname$j)</span>\
146
      is invalid)
147
      !!goto end_bad
148
      !break
149
    !endif
150
  !next
17361 bpr 151
:end_bad
13538 bpr 152
  Due to an error in this exercise $whichexo, it is impossible to test the
153
  correctness of your answer. The only solution for you is to change the
154
  exercise; sorry.
155
  <p>
156
  Please
157
  !if $email!=$empty
158
    !mailurl $email contact the author
159
  !else
160
    contact the author
161
  !endif
162
  of the exercise if you want to report the error.
163
  </p>
164
  !exit
20 reyssat 165
!endif
166
 
167
!if too_many_print iswordof $error
13538 bpr 168
  Your requests for printable versions are excessive.
169
  !exit
20 reyssat 170
!endif
171
 
3611 bpr 172
!if chemclick_empty_data iswordof $error
13538 bpr 173
  You have selected no atom or bond. Look at the help.
174
  !exit
3611 bpr 175
!endif
176
 
177
!if chemdraw_empty_data iswordof $error
13538 bpr 178
  You have not modify the applet. Please complete it.
179
  !exit
3611 bpr 180
!endif
6318 bpr 181
 
13538 bpr 182
!if draw_bad_object iswordof $error
13541 bpr 183
  You did not draw correctly the requested object ($type): try again!
13538 bpr 184
  !exit
185
!endif
13541 bpr 186
 
6318 bpr 187
!msg $error