target=serial ordered shuffle stepserial stepordered stepshuffle
#include "xiao.inc"
\text{datafile=slib(oef/env datafile)}
\integer{datacnt=wims(recordcnt \datafile)}
\text{shuff=shuffle(\datacnt)}
#include "confparm.inc"
#if defined TARGET_serial
\title{Á¬ÐøµÄÎÊÌâ}
\integer{start=randint(0..\datacnt-\questions)}
\text{records=wims(values x+\start for x=1 to \questions)}
\text{steptype=all}
#endif
#if defined TARGET_ordered
\title{Ôʼ´ÎÐòϵÄËæ»úÎÊÌâ}
\text{shuff=shuffle(\datacnt)}
\text{records=wims(sort numeric items \shuff[1..\questions])}
\text{steptype=all}
#endif
#if defined TARGET_shuffle
\title{Ëæ»úÂÒÅŵÄÎÊÌâ}
\text{shuff=shuffle(\datacnt)}
\text{records=\shuff[1..\questions]}
\text{steptype=all}
#endif
#if defined TARGET_stepserial
\title{Ò»¸ö½ÓÒ»¸ö³ÖÐø}
\integer{start=randint(0..\datacnt-\questions)}
\text{records=wims(values x+\start for x=1 to \questions)}
\text{steptype=step}
#endif
#if defined TARGET_stepordered
\title{°´Ôʼ´ÎÐòÒ»¸ö½ÓÒ»¸ö}
\text{shuff=shuffle(\datacnt)}
\text{records=wims(sort numeric items \shuff[1..\questions])}
\text{steptype=step}
#endif
#if defined TARGET_stepshuffle
\title{ÂÒÅŵÄÒ»¸ö½ÓÒ»¸ö}
\text{shuff=shuffle(\datacnt)}
\text{records=\shuff[1..\questions]}
\text{steptype=step}
#endif
\text{choicename=Ñ¡Ôñ}
#include "proc.inc"