Subversion Repositories wimsdev

Rev

Rev 9206 | Rev 11105 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9206 Rev 10922
Line 11... Line 11...
11
!set totweight=0
11
!set totweight=0
12
!set totsheets=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheets
12
!set totsheets=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheets
13
!set totexams=!recordcnt wimshome/log/classes/$wims_class/exams/.exams
13
!set totexams=!recordcnt wimshome/log/classes/$wims_class/exams/.exams
14
!set examweights=!record 0 of wimshome/log/classes/$wims_class/exams/.eseverity
14
!set examweights=!record 0 of wimshome/log/classes/$wims_class/exams/.eseverity
15
!set formula_list=!record 0 of adm/class/sheetformula
15
!set formula_list=!record 0 of adm/class/sheetformula
-
 
16
!set tmp=!defof DF_SEVERITY in wimshome/public_html/bases/sys/define.conf
-
 
17
!distribute words $tmp into bidon,tmp_s,tmp_ss
16
!for i_=1 to $totsheets
18
!for i_=1 to $totsheets
17
 !set f_=!line $i_ of $defaultformula
19
 !set f_=!line $i_ of $defaultformula
18
 !distribute word $f_ into w_$i_,s,ss
20
 !distribute word $f_ into w_$i_,s,ss
19
 !default w_$i_=1
21
 !default w_$i_=1
20
 !bound s between integer 0 and 6 default 2
22
 !bound s between integer 0 and 6 default $tmp_s
21
 !bound ss between integer 0 and 2 default 0
23
 !bound ss between integer 0 and 2 default $tmp_ss
22
!!  f_$i_=!line $s+1 of max($$x$(ss)_,$$y_)\
24
!!  f_$i_=!line $s+1 of max($$x$(ss)_,$$y_)\
23
$$x$(ss)_\
25
$$x$(ss)_\
24
$$x$(ss)_*$$y_^0.3\
26
$$x$(ss)_*$$y_^0.3\
25
$$x$(ss)_*$$y_^0.5\
27
$$x$(ss)_*$$y_^0.5\
26
$$x$(ss)_*$$y_\
28
$$x$(ss)_*$$y_\