Rev 23 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | method=list |
2 | |||
3 | per=$[$per] |
||
4 | !bound $per between 0 and 100 default 0 |
||
5 | |||
6 | !for i=1 to $uucnt |
||
7 | l_=!record $i+1 of wimshome/log/classes/$wims_class/.grades |
||
8 | n_=!item 1 of $l_ |
||
9 | n_=!hex $n_ |
||
10 | g_$n_=$l_ |
||
11 | !next i |
||
12 | t=!record 1 of wimshome/log/classes/$wims_class/.grades |
||
13 | t=!replace line number 1 by $per in $t |
||
14 | !writefile wimshome/log/classes/$wims_class/.grades :$t |
||
15 | !for u=1 to $ucnt |
||
16 | t_=!item $u of $ulist |
||
17 | t_=!hex $t_ |
||
18 | !appendfile wimshome/log/classes/$wims_class/.grades :$(g_$t_) |
||
19 | !next u |
||
20 | !read var.init |
||
21 |