Subversion Repositories wimsdev

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. target=serial ordered shuffle stepserial stepordered stepshuffle
  2.  
  3. #include "xiao.inc"
  4.  
  5. \text{datafile=slib(oef/env datafile)}
  6. \integer{datacnt=wims(recordcnt \datafile)}
  7. \text{shuff=shuffle(\datacnt)}
  8. #include "confparm.inc"
  9.  
  10. #if #TARGET (serial)
  11. \title{Á¬ÐøµÄÎÊÌâ}
  12. \integer{start=randint(0..\datacnt-\questions)}
  13. \text{records=wims(values x+\start for x=1 to \questions)}
  14. \text{steptype=all}
  15. #endif
  16.  
  17. #if #TARGET (ordered)
  18. \title{ԭʼ´ÎÐòϵÄËæ»úÎÊÌâ}
  19. \text{shuff=shuffle(\datacnt)}
  20. \text{records=wims(sort numeric items \shuff[1..\questions])}
  21. \text{steptype=all}
  22. #endif
  23.  
  24. #if #TARGET (shuffle)
  25. \title{Ëæ»úÂÒÅŵÄÎÊÌâ}
  26. \text{shuff=shuffle(\datacnt)}
  27. \text{records=\shuff[1..\questions]}
  28. \text{steptype=all}
  29. #endif
  30.  
  31. #if #TARGET (stepserial)
  32. \title{Ò»¸ö½ÓÒ»¸ö³ÖÐø}
  33. \integer{start=randint(0..\datacnt-\questions)}
  34. \text{records=wims(values x+\start for x=1 to \questions)}
  35. \text{steptype=step}
  36. #endif
  37.  
  38. #if #TARGET (stepordered)
  39. \title{°´Ô­Ê¼´ÎÐòÒ»¸ö½ÓÒ»¸ö}
  40. \text{shuff=shuffle(\datacnt)}
  41. \text{records=wims(sort numeric items \shuff[1..\questions])}
  42. \text{steptype=step}
  43. #endif
  44.  
  45. #if #TARGET (stepshuffle)
  46. \title{ÂÒÅŵÄÒ»¸ö½ÓÒ»¸ö}
  47. \text{shuff=shuffle(\datacnt)}
  48. \text{records=\shuff[1..\questions]}
  49. \text{steptype=step}
  50. #endif
  51.  
  52. \text{choicename=Ñ¡Ôñ}
  53.  
  54. #include "proc.inc"
  55.