Rev 16227 | Rev 17058 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !if dontknow iswordof $error |
16227 | bpr | 2 | In fact, the last step |
3 | !if $step_reason=OK |
||
4 | is correct. $step_remark |
||
5 | !else |
||
6 | is wrong. $step_remark |
||
7 | <div> |
||
8 | !read reasons/$step_reason.det |
||
9 | </div> |
||
16377 | bpr | 10 | A correct versionof the last step will be |
11 | <div class="wimscenter"> |
||
12 | !line $step of $good |
||
16227 | bpr | 13 | </div> |
14 | !endif |
||
23 | reyssat | 15 | <p> |
16227 | bpr | 16 | It's a pity that you didn't see all this. |
17 | </p> |
||
18 | !goto gnext |
||
23 | reyssat | 19 | !endif |
20 | |||
16227 | bpr | 21 | <b>$wims_name_Error</b> |
23 | reyssat | 22 | |
23 | !if step_error iswordof $error |
||
16227 | bpr | 24 | !if $step_reason=OK |
25 | But this step IS perfectly right! |
||
26 | $step_remark |
||
23 | reyssat | 27 | !else |
16227 | bpr | 28 | !if $ask_reason>0 and $step_reason!=$ans |
29 | No, the last step is wrong, but not for what you think to be. |
||
30 | !else |
||
31 | But no, there is well an error in the last step. |
||
32 | !endif |
||
33 | $step_remark |
||
34 | <div> |
||
35 | !read reasons/$step_reason.det |
||
36 | </div> |
||
37 | A correct version of the last step will be |
||
38 | <div class="wimscenter"> |
||
39 | !line $step of $good |
||
40 | </div> |
||
23 | reyssat | 41 | !endif |
16227 | bpr | 42 | :gnext |
43 | <p> |
||
44 | !if $step<$stepcnt |
||
45 | !href cmd=reply&ans=next Pass to the next step. |
||
46 | !else |
||
47 | This is the end of the exercise. Your score: $module_score/10. |
||
48 | !endif |
||
49 | </p> |
||
50 | !exit |
||
23 | reyssat | 51 | !endif |
52 | |||
53 | !if bad_step iswordof $error |
||
16227 | bpr | 54 | !if $badstep=0 |
55 | You think that all the steps are correct. |
||
23 | reyssat | 56 | !else |
16227 | bpr | 57 | You think that the first bad step is number $badstep. |
23 | reyssat | 58 | !endif |
16227 | bpr | 59 | !if $bad_steps=$empty |
60 | You are wrong: all the steps are correct. |
||
61 | <p> |
||
62 | !line $badstep of $remarks |
||
63 | </p> |
||
64 | !else |
||
65 | No, the <em>first</em> bad step is number $sss. <p> |
||
66 | !if $badstep>0 |
||
67 | !if $badstep isitemof $bad_steps |
||
68 | The step number $badstep is indeed wrong, but it is not the first bad step. |
||
69 | !else |
||
70 | On the contrary, step $badstep is quite right. |
||
71 | !endif |
||
72 | !else |
||
73 | $bad_reason |
||
74 | <div> |
||
75 | !set rrr=!item 1 of $bad_reasons |
||
76 | !read reasons/$rrr.det |
||
77 | </div> |
||
78 | !endif |
||
79 | !endif |
||
80 | <p>Your score: $module_score/10.</p> |
||
81 | !exit |
||
23 | reyssat | 82 | !endif |
83 | |||
10482 | bpr | 84 | !msg $error |