Subversion Repositories wimsdev

Rev

Rev 12810 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
386 bpr 1
# Variable calculations should be done in this file.
2
# It is read and interpreted by wims for all valid calls to the module.
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
 # Analysis of the reply should be placed here.
11
 # The following lines are just a template.
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