Rev 9177 | Rev 12411 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9177 | Rev 10479 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !if $step=$empty |
2 | !if $step=$empty |
3 | !readdef wimshome/log/classes/$wims_class/supervisor |
3 | !readdef wimshome/log/classes/$wims_class/supervisor |
- | 4 | !read oef/default |
|
4 | !bound user_qnum between integer 1 and 9 default 1 |
5 | !bound user_qnum between integer 1 and 9 default $(default_choice[1]) |
5 | !bound user_qcmlevel between integer 1 and 9 default |
6 | !bound user_qcmlevel between integer 1 and 9 default $(default_choice[2]) |
6 | !bound user_sepow between 1 and 6 default $(list_sepow[1]) |
7 | !bound user_sepow between 1 and 6 default $(list_sepow[1]) |
7 | !bound user_expow between 1 and 6 default $(list_expow[1]) |
8 | !bound user_expow between 1 and 6 default $(list_expow[1]) |
8 | !bound user_precw between 0 and 1 default $(list_precw[1]) |
9 | !bound user_precw between 0 and 1 default $(list_precw[1]) |
9 | !if $nw_scoredelay!=$empty |
10 | !if $nw_scoredelay!=$empty |
10 | nw_scoredelay=!items2words $nw_scoredelay |
11 | nw_scoredelay=!items2words $nw_scoredelay |
11 | !distribute word $nw_scoredelay into l1,l2 |
12 | !distribute word $nw_scoredelay into l1,l2 |
12 | !bound l1 between 1 to 2000 |
13 | !bound l1 between 1 to 2000 |
13 | !bound l2 between $l1 to 2000 default $l1 |
14 | !bound l2 between $l1 to 2000 default $l1 |
14 | nw_scoredelay=$l1,$l2 |
15 | nw_scoredelay=$l1,$l2 |
15 | !endif |
16 | !endif |
16 | !bound |
17 | !bound user_qcmpresent between integer 2 and 8 default $(default_choice[4]) |
17 | !bound |
18 | !bound user_presentsol between 0 and 2 default $(default_choice[3]) |
18 | nw_check_=$nw_check1,$nw_check2,$nw_check3,$nw_check4 |
19 | nw_check_=$nw_check1,$nw_check2,$nw_check3,$nw_check4 |
19 | nw_check_=!listintersect $nw_check_ and 1,2,3,4 |
20 | nw_check_=!listintersect $nw_check_ and 1,2,3,4 |
20 | !else |
21 | !else |
21 | !bound nw_qnum between integer 1 and 9 default $user_qnum |
22 | !bound nw_qnum between integer 1 and 9 default $user_qnum |
22 | !bound nw_qcmlevel between 1 and 9 default $user_qcmlevel |
23 | !bound nw_qcmlevel between 1 and 9 default $user_qcmlevel |