Subversion Repositories wimsdev

Rev

Rev 12810 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12810 Rev 16752
Line 2... Line 2...
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.nl etc
3
!!put language in file named lang/names.nl etc
4
 
4
 
5
!read language lang/names
5
!read language lang/names
6
!if $cmd=reply and $status!=waiting
6
!if $cmd=reply and $status!=waiting
7
 error=double_reply
7
  error=double_reply
8
 !exit
8
  !exit
9
!endif
9
!endif
10
 
10
 
11
!if $cmd=reply and $status=waiting
11
!if $cmd=reply and $status=waiting
12
 # Analysis of the reply should be placed here.
12
  # Analysis of the reply should be placed here.
13
 # The following lines are just a template.
13
  # The following lines are just a template.
14
 
14
 
15
 !if $x>$y
15
  !if $x>$y
16
  diagnostics=good
16
    diagnostics=good
17
 !else
17
  !else
18
  diagnostics=bad
18
    diagnostics=bad
19
 !endif
19
  !endif
20
 
20
 
21
 status=done
21
  status=done
22
 !if $diagnostics=good
22
  !if $diagnostics=good
23
  module_score=10
23
    module_score=10
24
 !else
24
  !else
25
  module_score=0
25
    module_score=0
26
 !endif
26
  !endif
27
 wims_module_log=score $module_score/10
27
  wims_module_log=score $module_score/10
28
!endif
28
!endif
29
 
-