Rev 8311 | Rev 11107 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | !if $formula=$empty |
||
3 | job= |
||
4 | !exit |
||
5 | !endif |
||
6 | |||
7 | !if $formula=prep |
||
8 | !exit |
||
9 | !endif |
||
10 | !reset formula reg |
||
11 | reg= |
||
10922 | bpr | 12 | !set tmp=!defof DF_SEVERITY in wimshome/public_html/bases/sys/define.conf |
13 | !distribute words $tmp into tmp_w,tmp_s,tmp_ss |
||
23 | reyssat | 14 | !for i=1 to $totsheets |
10922 | bpr | 15 | !bound w$i between 0 and 100000 default $tmp_w |
16 | !bound s$i between integer 0 and 6 default $tmp_s |
||
17 | !bound ss$i between integer 0 and 2 default $tmp_ss |
||
7665 | bpr | 18 | reg=!append line $(w$i) $(s$i) $(ss$i) to $reg |
23 | reyssat | 19 | !next i |
10922 | bpr | 20 | !reset tmp tmp_s tmp_ss |
23 | reyssat | 21 | !bound maxscore between integer 1 and 1000 default 10 |
22 | scoremax=$maxscore |
||
23 | defaultformula=$reg |
||
24 | !writefile wimshome/log/classes/$wims_class/sheets/.severity $maxscore\ |
||
25 | $reg |
||
26 | |||
27 | reg= |
||
28 | !for i=1 to $totexams |
||
29 | !bound ew$i between 0 and 100000 default 1 |
||
30 | reg=!append line $(ew$i) to $reg |
||
31 | !next i |
||
32 | !writefile wimshome/log/classes/$wims_class/exams/.eseverity $reg |
||
33 | |||
34 | !read var.proc.weights |
||
35 | job= |
||
36 |