Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
20 reyssat 1
!nocache
2
!reset replynames, replytypes, replyoptions, replystyles, replyweights,\
3
	choicenames, choicegoods, choicebads, choicelists, choiceitemss
4
 
5
!for i=1 to $replycnt
12325 bpr 6
  !read oef/replytype.proc
7
  replystyle$i=$anstyle
8
  replynames=$replynames$(replyname$i)\
20 reyssat 9
 
12325 bpr 10
  replytypes=$replytypes$(replytype$i)\
20 reyssat 11
 
12325 bpr 12
  replystyles=$replystyles$anstyle\
20 reyssat 13
 
12325 bpr 14
  ro=!singlespace $(replyoption$i)
15
  replyoptions=$replyoptions$ro\
20 reyssat 16
 
12325 bpr 17
  replyweights=$replyweights$(replyweight$i)\
20 reyssat 18
 
18581 bpr 19
!next i
20 reyssat 20
 
21
!for i=1 to $choicecnt
12325 bpr 22
  !for n in name,good,bad,list,items,option,weight
23
    choice$(n)s=$(choice$(n)s)$(choice$n$i)\
20 reyssat 24
 
12325 bpr 25
  !next n
20 reyssat 26
!next i
27
 
28
!if $vsavelist=$empty
12325 bpr 29
  !for i=1 to $varcnt+1
30
    vsavelist=!append item $i to $vsavelist
31
  !next i
20 reyssat 32
!endif
33
vsavelist=!nospace $vsavelist
34
vsave=
35
!for v in $vsavelist
12325 bpr 36
  vv=!translate internal $\
20 reyssat 37
$ to $	$ in $(val$v)
12325 bpr 38
  vsave=$vsave$(vv)\
20 reyssat 39
 
40
!next v