Subversion Repositories wimsdev

Rev

Rev 386 | Go to most recent revision | Details | Compare with Previous | 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.
12810 bpr 3
!!put language in file named lang/names.ca etc
386 bpr 4
 
12810 bpr 5
!read language lang/names
386 bpr 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.
386 bpr 14
 
12810 bpr 15
  !if $x>$y
16
    diagnostics=good
17
  !else
18
    diagnostics=bad
19
  !endif
386 bpr 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
386 bpr 28
!endif