Subversion Repositories wimsdev

Rev

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.si 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
12810 bpr 12
  # Analysis of the reply should be placed here.
13
  # The following lines are just a template.
35 reyssat 14
 
12810 bpr 15
  !if $x>$y
16
    diagnostics=good
17
  !else
18
    diagnostics=bad
19
  !endif
35 reyssat 20
 
12810 bpr 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
35 reyssat 28
!endif