Rev 35 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
35 | reyssat | 1 | # Variable calculations should be done in this file. |
2 | # It is read and interpreted by wims for all valid calls to the module. |
||
12810 | bpr | 3 | !!put language in file named lang/names.nl etc |
35 | reyssat | 4 | |
12810 | bpr | 5 | !read language lang/names |
35 | reyssat | 6 | !if $cmd=reply and $status!=waiting |
7 | error=double_reply |
||
8 | !exit |
||
9 | !endif |
||
10 | |||
11 | !if $cmd=reply and $status=waiting |
||
12 | # Analysis of the reply should be placed here. |
||
13 | # The following lines are just a template. |
||
14 | |||
15 | !if $x>$y |
||
16 | diagnostics=good |
||
17 | !else |
||
18 | diagnostics=bad |
||
19 | !endif |
||
20 | |||
21 | status=done |
||
22 | !if $diagnostics=good |
||
23 | module_score=10 |
||
24 | !else |
||
25 | module_score=0 |
||
26 | !endif |
||
27 | wims_module_log=score $module_score/10 |
||
28 | !endif |
||
29 |