Subversion Repositories wimsdev

Rev

Rev 13716 | Blame | Compare with Previous | Last modification | View Log | RSS feed

type=order first
textarea="data explain"
iEdit="explain"

:ÖØÐÂÅÅÐò, ÍÏ·Å.

¶ÔÏóÏÔʾ³ÉÒ»¸ö±í, ÄãÓ¦¸Ã°´ÒªÇóµÄ´ÎÐò°Ñ¶ÔÏóÍϷŵ½ºÐ×ÓÀï.
<p>
Ϊ¹¹Ôì´ËÀàÁ·Ï°, Ö»ÒªÊäÈë¶ÔÏóµÄ±í²¢Ð޸ĽâÊÍ.
</p>
<p>Ö»ÒªÉÔ×÷Ð޸ľÍÄÜʹÓÃͼÏñ¶ÔÏó.</p>
<p class="wims_credits">Ä£¿é×÷Õß: <a href="mailto:qualite@wimsedu.info">Gang Xiao</a>

:%%%%%%%%%%%%%%%%%      ×¢       Òâ      %%%%%%%%%%%%%%%%%%%%

Èç¹ûÄãɾȥÁ˱¾·¶ÀýÖеıêÇ© (¼´¸úËæÔÚðºÅ ':' ºóÃæµÄÄǼ¸ÐÐ),
ÄÇôҲÇëɾȥÕâ¸öÍ·²¿, ·ñÔòÓпÉÄܻز»µ½ Createxo.

:%%%%%%%%%%%%%%%%%   ±»ÖØÐ¶¨ÒåµÄ²ÎÊýʾÀý   %%%%%%%%%%%%%%%%%%

:\title{ÖØÐÂÅÅÐò}
:\author{XIAO Gang}
:\email{qualite@wimsedu.info}

:Á·Ï°ÖÐÒª·ÖÀàµÄ¶ÔÏó¸öÊý. ×î¶à 20 ¸ö.
<p>Èç¹û´ËÊý×ÖСÓÚ¿ÉÓõĶÔÏóÊý, ½«»áËæ»úÈ¡³öÒ»¸ö×Ó¼¯.</p>
<p>Èç¹û´ËÊý×Ö´óÓÚ¿ÉÓõĶÔÏóÊý, ½«»á°ÑÕâ¸öÊý¸Ä³É¿ÉÓöÔÏóµÄ¸öÊý.</p>
\integer{tot=6}

:±»ÍϷŶÔÏóµÄ´óС, ÒÔÏñËØÎªµ¥Î», x ³Ë y.
¿¼Âǵ½Óû§¿ÉÄÜ»áÔö´óä¯ÀÀÆ÷µÄ×ÖÌå, Òò´Ë²»ÄÜÈ¡µÃ̫С.
\text{size=80x40}

:±»ÅÅÐò¶ÔÏóµÄ±í
¶ÔÏó°´ÕýÈ·µÄÐòÅÅÁÐ, ÓöººÅ·Ö¸ô.
\text{data=Ë®ÐÇ,½ðÐÇ,µØÇò,»ðÐÇ,ľÐÇ,ÍÁÐÇ,ÌìÍõÐÇ,º£ÍõÐÇ}

:ÌâÒâ˵Ã÷.
\text{explain=
Çë°ÑÌ«ÑôϵµÄÐÐÐǰ´ÀëÌ«ÑôµÄ½üÔ¶ÖØÐÂÅÅÁÐ.
}

:%%%%%%%%%%%%%%       ²»Òª¸Ä¶¯ÏÂÃæÕâ¶ÎÃüÁî          %%%%%%%%%%%%%%%%

\integer{datacnt=items(\data)}
\integer{tot=min(20,min(\tot,\datacnt))}
\if{\tot<\datacnt}{
 \text{sh=shuffle(\datacnt)}
 \text{sh=wims(sort numeric items \sh[1..\tot])}
 \text{data=item(\sh,\data)}
}

\text{st=wims(makelist r x for x=1 to \tot)}
\steps{\st}

:%%%%%%%%%%%%% ÏÖÔÚ¿ÉÒÔÓà html ¸ñʽÌîÈëÎÊÌâµÄ³ÂÊö  %%%%%%%%%%%%%%%%%%%%%%%%%

::Ò»°ãÇé¿öÏÂûÓбØÒª¸Ä¶¯Ëü

\statement{\explain
<p><table border=0><tr>
\for{k=1 to \tot}{<td>\embed{r\k,\size}</td>}
</tr></table>
}

:%%%%%%%%%%%%%      ²»Òª¸Ä¶¯ÒÔϵÄÃüÁî        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\answer{1}{\data[1]}{type=dragfill}
\answer{2}{\data[2]}{type=dragfill}
\answer{3}{\data[3]}{type=dragfill}
\answer{4}{\data[4]}{type=dragfill}
\answer{5}{\data[5]}{type=dragfill}
\answer{6}{\data[6]}{type=dragfill}
\answer{7}{\data[7]}{type=dragfill}
\answer{8}{\data[8]}{type=dragfill}
\answer{9}{\data[9]}{type=dragfill}
\answer{10}{\data[10]}{type=dragfill}
\answer{11}{\data[11]}{type=dragfill}
\answer{12}{\data[12]}{type=dragfill}
\answer{13}{\data[13]}{type=dragfill}
\answer{14}{\data[14]}{type=dragfill}
\answer{15}{\data[15]}{type=dragfill}
\answer{16}{\data[16]}{type=dragfill}
\answer{17}{\data[17]}{type=dragfill}
\answer{18}{\data[18]}{type=dragfill}
\answer{19}{\data[19]}{type=dragfill}
\answer{20}{\data[20]}{type=dragfill}