Rev 12810 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
127 | bpr | 1 | # 变量计算应在此文件里进行. |
2 | # 每次模块调用时它由wims读入与解释执行. |
||
3 | |||
4 | !if $cmd=reply and $status!=waiting |
||
5 | error=double_reply |
||
6 | !exit |
||
7 | !endif |
||
8 | |||
9 | !if $cmd=reply and $status=waiting |
||
10 | # 对回答的分析应该放在这里. |
||
11 | # 以下几行只是一个模板. |
||
12 | |||
13 | !if $x>$y |
||
14 | diagnostics=good |
||
15 | !else |
||
16 | diagnostics=bad |
||
17 | !endif |
||
18 | |||
19 | status=done |
||
20 | !if $diagnostics=good |
||
21 | module_score=10 |
||
22 | !else |
||
23 | module_score=0 |
||
24 | !endif |
||
25 | wims_module_log=score $module_score/10 |
||
26 | !endif |
||
27 |