Subversion Repositories wimsdev

Rev

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

Rev 6431 Rev 7354
Line 91... Line 91...
91
   test=$picksheet
91
   test=$picksheet
92
   error=already_exist
92
   error=already_exist
93
   !exit
93
   !exit
94
  !endif
94
  !endif
95
 !next i
95
 !next i
-
 
96
####
-
 
97
  !if $get_random=0
-
 
98
  !for i=1 to $get_qnum
-
 
99
    update_order=!append item $(update_ex$i) to $update_order
-
 
100
  !next
-
 
101
 
-
 
102
  get_exo=$(get_exo[$update_order])
-
 
103
  iniparm2=!replace internal & by $\
-
 
104
$ in $iniparm
-
 
105
  iniparm2_cnt=!linecnt $iniparm2
-
 
106
  new_iniparm=
-
 
107
  equal==
-
 
108
  !for v in $get_exo
-
 
109
    new_iniparm=!append item exo=$v to $new_iniparm
-
 
110
  !next
-
 
111
  !for u=1 to $iniparm2_cnt
-
 
112
    l=!line $u of $iniparm2
-
 
113
    !if exo$equal notin $l
-
 
114
     new_iniparm=!append item $l to $new_iniparm
-
 
115
    !endif
-
 
116
  !next
-
 
117
  new_iniparm=!nospace $new_iniparm
-
 
118
  new_iniparm=!replace internal , by & in $new_iniparm=
-
 
119
  iniparm=$new_iniparm
-
 
120
!endif
-
 
121
#####
96
 !appendfile wimshome/log/classes/$wims_class/sheets/.sheet$picksheet :$dir\
122
 !appendfile wimshome/log/classes/$wims_class/sheets/.sheet$picksheet :$dir\
97
$iniparm\
123
$iniparm\
98
$require\
124
$require\
99
$weight\
125
$weight\
100
$ititle\
126
$ititle\