Subversion Repositories wimsdev

Rev

Rev 14113 | Rev 14198 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14113 Rev 14128
Line 7... Line 7...
7
!! item 3 : the position where the field be inserted after (next are translated). if empty, the field is deleted if 0 the field is placed in first position
7
!! item 3 : the position where the field be inserted after (next are translated). if empty, the field is deleted if 0 the field is placed in first position
8
!! item 4 : the position of the source field 
8
!! item 4 : the position of the source field 
9
!! wims_read_parm : name of record
9
!! wims_read_parm : name of record
10
 
10
 
11
!distribute item $wims_read_parm into type_,num_,target_,source_
11
!distribute item $wims_read_parm into type_,num_,target_,source_
-
 
12
!! line number containt score dependancy (not same for exam and sheet)
12
!if $type_=sheet
13
!if $type_=sheet
13
  li_=7
14
  li_=7
14
!else
15
!else
15
  li_=4
16
  li_=4
16
!endif
17
!endif
Line 33... Line 34...
33
    list_=$source_,$list_
34
    list_=$source_,$list_
34
  !else
35
  !else
35
    !if $target_=$[$ecnt_+1]
36
    !if $target_=$[$ecnt_+1]
36
      list_=$list_,$source_
37
      list_=$list_,$source_
37
    !else
38
    !else
38
      list_=!replace item $target_ by $target_,$source_ in $list_
39
      list_=!replace item $target_ by $source_,$target_ in $list_
39
    !endif
40
    !endif
40
  !endif
41
  !endif
41
!endif
42
!endif
42
list_=!nonempty item $list_
43
list_=!nonempty item $list_
43
mlist_=$empty
44
mlist_=$empty