Rev 5603 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2861 | guerimand | 1 | |
2 | !bound comp between 1 and $livret_nbcomp default $empty |
||
3 | !if $comp=$empty |
||
4 | !reset cf_abandon |
||
5 | job=userlist |
||
6 | !read userlist.proc |
||
7 | !exit |
||
8 | !endif |
||
9 | |||
10 | tmp=!record $comp of $livret_dir/.comps |
||
11 | !distribute line $tmp into mem_title,mem_nbpalier |
||
12 | |||
13 | !if $cf_set!=$empty |
||
14 | donnees=$empty |
||
15 | !for k=1 to $livret_nbcomp |
||
16 | d=!record $k of $livret_dir/.comps |
||
17 | !if $k!=$comp |
||
18 | donnees=!append line :$d to $donnees |
||
19 | !endif |
||
20 | !if $k>$comp |
||
21 | !sh cp $Livret_dir/.comp$k $Livret_dir/.comp$[$k-1]; |
||
22 | !endif |
||
23 | !next k |
||
24 | !writefile $livret_dir/.comps $donnees |
||
25 | livret_nbcomp=$[$livret_nbcomp-1] |
||
26 | job=userlist |
||
27 | !reset cf_set |
||
28 | !read userlist.proc |
||
29 | !endif |