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