Subversion Repositories wimsdev

Rev

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

Rev 3511 Rev 10482
Line 2... Line 2...
2
!if dontknow iswordof $error
2
!if dontknow iswordof $error
3
 In fact, the last step
3
 In fact, the last step
4
 !if $step_reason=OK
4
 !if $step_reason=OK
5
  is correct. $step_remark
5
  is correct. $step_remark
6
 !else
6
 !else
7
  is wrong. $step_remark
7
  is wrong. $step_remark
8
  <p>
8
  <p>
9
  !read reasons/$step_reason.det
9
  !read reasons/$step_reason.det
10
  <p>
10
  <p>
11
  A correct versionof the last step will be<p><center>
11
  A correct versionof the last step will be
12
  <table border="0" bgcolor="#d0c0d0" width="80%"><tr><td align="center">
12
  <table class="wimscenter wimsnoborder" style="width:80%"><tr><td>
13
  !line $step of $good
13
  !line $step of $good
14
 </td></tdr </table> </center>
14
 </td></tr></table>
15
 !endif
15
 !endif
-
 
16
 <p>
16
 <p>It's a pity that you didn't see all this.
17
 It's a pity that you didn't see all this.
-
 
18
 </p>
17
 !goto gnext
19
 !goto gnext
18
!endif
20
!endif
19
 
21
 
20
<b>Error.</b>
22
<b>Error.</b>
21
 
23
 
Line 28... Line 30...
28
   No, the last step is wrong, but not for what you think to be.
30
   No, the last step is wrong, but not for what you think to be.
29
  !else
31
  !else
30
   But no, there is well an error in the last step.
32
   But no, there is well an error in the last step.
31
  !endif
33
  !endif
32
  $step_remark
34
  $step_remark
33
  <p>
35
  <div>
34
  !read reasons/$step_reason.det
36
  !read reasons/$step_reason.det
35
  <p>
37
  </div>
36
  A correct version of the last step will be<p><center>
38
  A correct version of the last step will be
37
  <table border=0 bgcolor="#d0c0d0" width="80%"><tr><td align="center">
39
  <table class="wimscenter wimsnoborder" style="width:80%"><tr><td>
38
  !line $step of $good
40
  !line $step of $good
39
  </td></tr></table> </center> <p>
41
  </td></tr></table>
40
 !endif
42
 !endif
41
 :gnext
43
 :gnext
42
 <p>
44
 <p>
43
 !if $step<$stepcnt
45
 !if $step<$stepcnt
44
  !href cmd=reply&ans=next Pass to the next step.
46
  !href cmd=reply&ans=next Pass to the next step.
45
 !else
47
 !else
46
  This is the end of the exercise. Your score: $module_score/10.
48
  This is the end of the exercise. Your score: $module_score/10.
47
 !endif
49
 !endif
-
 
50
 </p>
48
 !exit
51
 !exit
49
!endif
52
!endif
50
 
53
 
51
!if bad_step iswordof $error
54
!if bad_step iswordof $error
52
 !if $badstep=0
55
 !if $badstep=0
53
  You think that all the steps are correct.
56
  You think that all the steps are correct.
54
 !else
57
 !else
55
  You think that the first bad step is number $badstep.
58
  You think that the first bad step is number $badstep.
56
 !endif
59
 !endif
57
 !if $bad_steps=$empty
60
 !if $bad_steps=$empty
58
  You are wrong: all the steps are correct.
61
  You are wrong: all the steps are correct.
59
  <p>
62
  <p>
60
  !line $badstep of $remarks
63
  !line $badstep of $remarks
61
 !else
64
 !else
Line 66... Line 69...
66
    step.
69
    step.
67
   !else
70
   !else
68
    On the contrary, step $badstep is quite right.
71
    On the contrary, step $badstep is quite right.
69
   !endif
72
   !endif
70
  !else
73
  !else
71
   $bad_reason <p>
74
   $bad_reason
-
 
75
   <div>
72
   !set rrr=!item 1 of $bad_reasons
76
   !set rrr=!item 1 of $bad_reasons
73
   !read reasons/$rrr.det
77
   !read reasons/$rrr.det
-
 
78
   </div>
74
  !endif
79
  !endif
75
 !endif
80
 !endif
76
 <p>Your score: $module_score/10.
81
 <p>Your score: $module_score/10.</p>
77
 !exit
82
 !exit
78
!endif
83
!endif
79
 
84
 
80
!if double_reply=$error
85
!!!if double_reply=$error
81
 You have already submitted a reply to this problem, which has been
86
!! You have already submitted a reply to this problem, which has been
82
 analysed and scored. Repetitive replies are ignored. (Don't use the
87
!! analysed and scored. Repetitive replies are ignored. (Don't use the
83
 `reload' button of your browser to repost replies!)
88
!! `reload' button of your browser to repost replies!)
84
 !exit
89
!! !exit
85
!endif
90
!!!endif
86
 
91
 
-
 
92
!msg $error