Rev 1951 | Rev 2935 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1319 | guerimand | 1 | usercnt=!recordcnt wimshome/log/classes/$wims_class/.userlist |
1859 | guerimand | 2 | tooltip_parm=FONTSIZE,'11pt',ABOVE,'true' |
1319 | guerimand | 3 | |
1951 | guerimand | 4 | userscore=$empty |
1319 | guerimand | 5 | userlist=$empty |
6 | !for u=1 to $usercnt |
||
7 | user=!record $u of wimshome/log/classes/$wims_class/.userlist |
||
1951 | guerimand | 8 | !distribute item $user into lastname,firstname,user |
9 | userlist=!append line $user,$lastname $firstname to $userlist |
||
10 | userscore_$u=!getscoremean user=$user |
||
1319 | guerimand | 11 | userlist=!append item $user to $userlist |
12 | !for k=1 to $livret_nbcomp |
||
13 | !for l=1 to $(nbpalier_$k) |
||
1906 | bpr | 14 | l_$(u)_$(k)_$(l)=0 |
1319 | guerimand | 15 | !next l |
16 | !next k |
||
17 | !next u |
||
18 | !for k=1 to $livret_nbcomp |
||
19 | !for l=1 to $(nbpalier_$k) |
||
1845 | guerimand | 20 | list=!record $l of $livret_dir/.comp$k |
1319 | guerimand | 21 | list=!line 2 of $list |
22 | list2=$empty |
||
23 | !for it in $list |
||
24 | t=!replace internal . by , in $it |
||
25 | !if $(t[1]) notitemof $livret_nonactivesheet |
||
26 | list2=!append line $(t[1]),$(t[2]) to $list2 |
||
27 | !endif |
||
28 | !next it |
||
29 | nbit=!linecnt $list2 |
||
30 | !for m=1 to $nbit |
||
31 | t=!line $m of $list2 |
||
1906 | bpr | 32 | !for u=1 to $usercnt |
1951 | guerimand | 33 | s=!word $(t[2]) of $(userscore_$(u)[$(t[1]);]) |
1768 | guerimand | 34 | !if $s>=$livret_minac |
1906 | bpr | 35 | l_$(u)_$(k)_$(l)=$(l_$(u)_$(k)_$(l))+$s/$nbit |
1857 | guerimand | 36 | !else |
37 | !if $s!=0 |
||
1906 | bpr | 38 | l_$(u)_$(k)_$(l)=$(l_$(u)_$(k)_$(l))+0 |
1857 | guerimand | 39 | !endif |
1768 | guerimand | 40 | !endif |
1906 | bpr | 41 | !next u |
1319 | guerimand | 42 | !next m |
43 | !next l |
||
44 | !next k |