Rev 12325 | Go to most recent revision | Details | 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 |
||
6 | !read oef/replytype.proc |
||
7 | replystyle$i=$anstyle |
||
8 | replynames=$replynames$(replyname$i)\ |
||
9 | |||
10 | replytypes=$replytypes$(replytype$i)\ |
||
11 | |||
12 | replystyles=$replystyles$anstyle\ |
||
13 | |||
14 | ro=!items2words $ro |
||
15 | ro=!singlespace $(replyoption$i) |
||
16 | replyoptions=$replyoptions$ro\ |
||
17 | |||
18 | replyweights=$replyweights$(replyweight$i)\ |
||
19 | |||
20 | !next i |
||
21 | |||
22 | !for i=1 to $choicecnt |
||
23 | !for n in name,good,bad,list,items,option,weight |
||
24 | choice$(n)s=$(choice$(n)s)$(choice$n$i)\ |
||
25 | |||
26 | !next n |
||
27 | !next i |
||
28 | |||
29 | !if $vsavelist=$empty |
||
30 | !for i=1 to $varcnt+1 |
||
31 | vsavelist=!append item $i to $vsavelist |
||
32 | !next i |
||
33 | !endif |
||
34 | vsavelist=!nospace $vsavelist |
||
35 | vsave= |
||
36 | !for v in $vsavelist |
||
37 | vv=!translate internal $\ |
||
38 | $ to $ $ in $(val$v) |
||
39 | vsave=$vsave$(vv)\ |
||
40 | |||
41 | !next v |
||
42 |