Rev 17058 | 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 |
17069 | bpr | 44 | </div> |
16227 | bpr | 45 | <p> |
46 | !if $step<$stepcnt |
||
17069 | bpr | 47 | !set wims_ref_class=wims_button |
16227 | bpr | 48 | !href cmd=reply&ans=next Pass to the next step. |
49 | !else |
||
50 | This is the end of the exercise. Your score: $module_score/10. |
||
51 | !endif |
||
52 | </p> |
||
53 | !exit |
||
23 | reyssat | 54 | !endif |
55 | |||
56 | !if bad_step iswordof $error |
||
16227 | bpr | 57 | !if $badstep=0 |
58 | You think that all the steps are correct. |
||
23 | reyssat | 59 | !else |
16227 | bpr | 60 | You think that the first bad step is number $badstep. |
23 | reyssat | 61 | !endif |
16227 | bpr | 62 | !if $bad_steps=$empty |
63 | You are wrong: all the steps are correct. |
||
64 | <p> |
||
65 | !line $badstep of $remarks |
||
66 | </p> |
||
67 | !else |
||
68 | No, the <em>first</em> bad step is number $sss. <p> |
||
69 | !if $badstep>0 |
||
70 | !if $badstep isitemof $bad_steps |
||
71 | The step number $badstep is indeed wrong, but it is not the first bad step. |
||
72 | !else |
||
73 | On the contrary, step $badstep is quite right. |
||
74 | !endif |
||
75 | !else |
||
76 | $bad_reason |
||
77 | <div> |
||
78 | !set rrr=!item 1 of $bad_reasons |
||
79 | !read reasons/$rrr.det |
||
80 | </div> |
||
81 | !endif |
||
82 | !endif |
||
17069 | bpr | 83 | </div> |
16227 | bpr | 84 | <p>Your score: $module_score/10.</p> |
85 | !exit |
||
23 | reyssat | 86 | !endif |
87 | |||
10482 | bpr | 88 | !msg $error |