Changes between Version 44 and Version 45 of BoltRef
- Timestamp:
- Oct 29, 2008, 9:34:41 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BoltRef
v44 v45 54 54 'option2', 55 55 ... 56 [ weight(X) ]56 [, weight(X) ] 57 57 ); 58 58 }}} … … 69 69 array('option1', true|false), 70 70 array('option2', true|false), 71 ... 72 [, weight(X) ] 73 ); 74 }}} 75 This specifies a multiple-choice question where any number of answers can be chosen. 76 77 {{{ 78 fitb( 79 regexp 71 80 [ weight(X) ] 72 81 ); 73 82 }}} 74 This specifies a multiple-choice question where any number of answers can be chosen. 83 84 This specifies a "fill in the blank" question. 85 Any answer matching the given regular expression is considered correct. 75 86 76 87 {{{ … … 191 202 exercise( 192 203 filename('bolt_sample_exercise1.php') 193 [ attrs((object) array("name"=>"value")) ]194 [ callback("function_name") ]204 [, attrs((object) array("name"=>"value")) ] 205 [, callback("function_name") ] 195 206 ); 196 207 }}} … … 230 241 unit2, 231 242 ... 232 [ attrs(),]243 [, attrs() ] 233 244 ); 234 245 }}} … … 258 269 unit2, 259 270 ... 260 [ attrs(),]271 [, attrs() ] 261 272 ); 262 273 }}} … … 292 303 random( 293 304 name('name'), 294 [ number(N), ]295 [ attrs(), ]296 305 unit1, 297 306 unit2, 298 307 ... 308 [, number(N) ] 309 [, attrs() ] 299 310 ); 300 311 }}} … … 333 344 exercise_set( 334 345 name('name'), 335 [ number(N), ]336 [ attrs(), ]337 346 exercise1, 338 347 exercise2, 339 348 ... 340 [ callback('my_func'), ] 341 [ repeat-spec1, ] 342 [ repeat-spec2, ] 349 [, number(N) ] 350 [, attrs() ] 351 [, callback('my_func') ] 352 [, repeat-spec1 ] 353 [, repeat-spec2 ] 343 354 [ ... ] 344 [ refresh-spec ]355 [, refresh-spec ] 345 356 ); 346 357 }}}