Subversion Repositories wimsdev

Rev

Rev 2767 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
54 guerimand 1
numsheet=!listintersect $numsheet and $asheets
2
!if $numsheet=$empty
14271 obado 3
  !reset listname
4
  !for k in $asheets
5
    current=!record $k of wimshome/log/classes/$wims_class/sheets/.sheets
6
    current=!line 3 of $current
7
    current=!replace internal , by $empty in $current
8
    listname=!append item $k | $current to $listname
9
  !next
10
  !exit
54 guerimand 11
!else
14271 obado 12
  key_title=!singlespace $keytitle
13
  key_title=!char 1 to $title_limit of $key_title
14
  nbexo=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$numsheet
15
  listdon=$empty
16
  tmp=$key_title
17
  !for k=1 to $nbexo
18
    !if $key_title=$empty
19
      tmp=!record $k of wimshome/log/classes/$wims_class/sheets/.sheet$numsheet
20
      tmp=!line 5 of $tmp
21
    !endif
22
    exodon=:1\
54 guerimand 23
$numsheet.$k\
24
$tmp\
25
 
14271 obado 26
    listdon=!append line $exodon to $listdon
27
  !next k
28
  !appendfile wimshome/log/classes/$wims_class/exams/.exam$exam $listdon
29
  !reset job,numsheet
30
  !read var.proc
31
!endif