Subversion Repositories wimsdev

Rev

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

Rev 9108 Rev 9110
Line 80... Line 80...
80
   require=0
80
   require=0
81
  !endif
81
  !endif
82
  !if NaN isin $weight
82
  !if NaN isin $weight
83
   weight=0
83
   weight=0
84
  !endif
84
  !endif
85
  !bound require between 0,$[10*$require_limit] default 0
85
  !bound require between 0 and $[10*$require_limit] default 0
86
  !bound weight between 0,10 default 0
86
  !bound weight between 0 and 10 default 0
87
 !endif
87
 !endif
88
!! vérification des donnees d'execution du module d'exo
88
!! vérification des donnees d'execution du module d'exo
89
 test_transl=!module translation_language $dir
89
 test_transl=!module translation_language $dir
90
 !if $lang iswordof $test_transl
90
 !if $lang iswordof $test_transl
91
   tr_lang=yes
91
   tr_lang=yes
Line 101... Line 101...
101
 !endif
101
 !endif
102
 !bound qnum between integer 1 and 9 default $wims_oefdefault_qnum
102
 !bound qnum between integer 1 and 9 default $wims_oefdefault_qnum
103
 !bound qcmlevel between integer 1 and 9 default $wims_oefdefault_qcmlevel
103
 !bound qcmlevel between integer 1 and 9 default $wims_oefdefault_qcmlevel
104
 !bound intro_qcmpresent between integer 2 and 8 default $wims_oefdefault_qcmpresent
104
 !bound intro_qcmpresent between integer 2 and 8 default $wims_oefdefault_qcmpresent
105
 !bound intro_presentsol between integer 0 and 2 default $wims_oefdefault_presentsol
105
 !bound intro_presentsol between integer 0 and 2 default $wims_oefdefault_presentsol
106
 !bound intro_expow between integer 1 and 3 default $wims_oefdefault_expow
106
 !bound intro_expow between 1 and 6 default $wims_oefdefault_expow
107
 !bound intro_sepow between integer 1 and 3 default $wims_oefdefault_sepow
107
 !bound intro_sepow between 1 and 6 default $wims_oefdefault_sepow
108
 !bound intro_precw between integer 1 and 3 default $wims_oefdefault_precw
108
 !bound intro_precw between 0 and 1 default $wims_oefdefault_precw
109
 
109
 
110
 intro_check=!listintersect $intro_check and 1,2,3,4
110
 intro_check=!listintersect $intro_check and 1,2,3,4
111
 !bound random within 0,1 default 0
111
 !bound random within 0,1 default 0
112
 !if $scoredelay!=$empty and $scoredelay!=0
112
 !if $scoredelay!=$empty and $scoredelay!=0
113
  d_=!items2words $scoredelay
113
  d_=!items2words $scoredelay
114
  !distribute words $d_ into delay1,delay2
114
  !distribute words $d_ into delay1,delay2
115
  !bound delay1 between integer 0 and 2000 default 0
115
  !bound delay1 between integer 0 and 2000 default 0
116
  !bound delay2 between integer $delay1 and 2000
116
  !bound delay2 between integer $delay1 and 2000
117
  scoredelay=$delay1 $delay2
117
  scoredelay=$delay1,$delay2
118
 !endif
118
 !endif
119
 iniparm=$empty
119
 iniparm=$empty
120
 !if $expert_=yes
120
 !if $expert_=yes
121
  !if $intro_check!=$empty
121
  !if $intro_check!=$empty
122
 	!for k in $intro_check
122
 	!for k in $intro_check