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