Subversion Repositories wimsdev

Rev

Rev 20 | Go to most recent revision | 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=!items2words $ro
15
  ro=!singlespace $(replyoption$i)
16
  replyoptions=$replyoptions$ro\
20 reyssat 17
 
12325 bpr 18
  replyweights=$replyweights$(replyweight$i)\
20 reyssat 19
 
12325 bpr 20
  !next i
20 reyssat 21
 
22
!for i=1 to $choicecnt
12325 bpr 23
  !for n in name,good,bad,list,items,option,weight
24
    choice$(n)s=$(choice$(n)s)$(choice$n$i)\
20 reyssat 25
 
12325 bpr 26
  !next n
20 reyssat 27
!next i
28
 
29
!if $vsavelist=$empty
12325 bpr 30
  !for i=1 to $varcnt+1
31
    vsavelist=!append item $i to $vsavelist
32
  !next i
20 reyssat 33
!endif
34
vsavelist=!nospace $vsavelist
35
vsave=
36
!for v in $vsavelist
12325 bpr 37
  vv=!translate internal $\
20 reyssat 38
$ to $	$ in $(val$v)
12325 bpr 39
  vsave=$vsave$(vv)\
20 reyssat 40
 
41
!next v