1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
|
!set typelist1=!trim\
default,Զ,ԶȷijЩ\
raw,ı,ѡıȽ\
numeric,,ȷ趨\
function,ֵ,ڽش𰸱Ƚ\
equation,ֵ,Ƚϼֵ\
exp|algexp litexp formal,ѧʽ,ʽϱȽ\
text|case nocase,,ʻ\
multiple|checkbox click menu radio mark flashcard multipleclick,ɿضѡ,ť˵\
!set typelist2=!trim\
atext,,ֵ\
chemformula,ѧʽ\
chemdraw,\
chemeq,ѧʽ,ƽ\
chset,ַ\
clickfill|clickfill dragfill,ѸĻش,ֻͼ\
clicktile,שɫ\
clock,Clock\
compose,Ѹɷɵľ,Ѹɷ\
complex,Complex number,comparison is done numerically\
coord,һͼϵ,ȡ\
correspond,Ӧ,һһӦ\
crossword,Ϸ(IJ)\
chessgame,ƶ\
geogebra,̬,ʹGeoGebra\
jsxgraph,̬,ʹJSXGraph\
jsxgraphcurve, JSXgraphͼ, ʹԤɵʽ\
jmolclick, 3D ԭ, ʹ applet Jmol\
matrix,,ѧ\
numexp,,дɷ\
puzzle,һͼųȷĴ, ͬ\
range,ڵ\
reorder,,ı\
set|set fset aset,,ġʽĻƵ\
sigunits,λ,ָЧλ\
symtext,Ż,ֱȽϵĸ\
units,λ,\
vector,,Ƚ\
wlist,ʱ\
!set namelist=,
!set symtextlist=text atext raw compose
<h2>ûϰĻش</h2>
OEFϰֻķʽûĻش: ѡɸʽĻش.
ûĻشͱ. 𰸷ijЩضʱ, пʾһ
!href cmd=help&special_parm=feedback Ϣ
(Եʹľ).
<h3>ѡ</h3>
ѡһȷѡ(һԪ)һѡ.
<p>
Ŀǰһϰͬʱ$choicelimѡ.
һѡеȷѡĸֻܵWIMSַȵ.
</p><p>
ڶѡɲο
!href cmd=help&special_parm=oef OEFʽİ.
</p>
<h3 id="freestyle">ɸʽĻش</h3>
ɸʽĻشûԼĻش.
Ŀǰһϰͬʱ$answerlimɻش.
<p>
:
</p>
<code>\answer{}{\reponse}{type=...}{option=...}{weight=...}</code>
<p>(3ǿѡ.)
The length of <span class="tt">Text</span> is limited
to $max_promptlen characters.
</p>
<h3> <span class="tt">type</span></h3>
<p>ÿɸʽĻشԻȡ֮һ.</p>
!for k=1 to 2
<h4>$(namelist[$k])</h4>
!set n=!linecnt $(typelist$k)
<ul>
!for j=1 to $n
!set l=!line $j of $(typelist$k)
!distribute item $l into name,title
!set desc=!item 3 to -1 of $l
!set name=!replace internal | by , in $name
!set name1=!item 2 to -1 of $name
!set name=!item 1 of $name
!default name1=$name
!if $name isitemof $special_parm or all isitemof $special_parm
<li id="_$name">
!read help/anstype.$lang/$name.phtml
!if $name iswordof $symtextlist
<br>
<b>ע</b>.
͵Ļشɽ symtext ѡ. ڻشѡ
<span class="tt">symtext</span>,
!href cmd=help&special_parm=reply,symtext#_symtext symtext
Իش, رǶıԤ. ,
symtext ѡʹ.
!endif
!else
<li>
!href cmd=help&special_parm=reply,$name#_$name $title
(<span class="tt">$name1</span>) $desc.
!endif
</li>
!next j
</ul>
!next i
!read help/$lang/embedans.phtml
<p>
ɸʽشijѡ <span class="tt">default</span>. ѡд
<tt><font color=green>default="Ĭֵ"</font></tt> ʽ.
ûĻشǿյ, ô<b>Ĭֵ</b>ȡ.
<p>
һشʹ <span class="tt">embed</span>,
!href cmd=help&special_parm=embedans ο.
<h3></h3><p>
Ŀǰ, ϣɻش(жȷ𰸵,
Ҫϰ, ɲʽȷĴ𰸵ȵ)ж. ·ʽʵ.</p><p>
ɸʽȷһδı, ôĴ
ͱ. ߿ɱ. ϰɱIJ
ĸȷ, ȼȷ𰸵ĸ.</p>
<p>
Ŀǰһϰͬʱ$condlim, ֵֻ˲. .</p>
<p><span class="tt">
\condition{ʾ}{}{weight=...}
</span>
(һǿѡ.)
</p><p>
һЩ. (<span class="tt">\ans1</span> <span class="tt">\ans2</span> dzɸʽеδ.)
<small>
!href target=wims_mhelp cmd=help&special_parm=if ȫϵʽ
</small>
</p>
$table_header
$table_hdtr<th><th></th></tr>
$table_tr<td><tt>\ans1>=0 and \ans1<=1</tt></td>
<td> <span class="tt">ans1</span> λ [0,1] Ϊȷ.</td></tr>
$table_tr<td class="tt">\ans1=1 or \ans1=3 or \ans1=5</td>
<td> <span class="tt">ans1</span> 1, 3 5 Ϊȷ.</td></tr>
$table_tr<td class="tt">(\ans1)*(\ans2)=6 and (\ans1)+(\ans2)=5</td>
<td> <span class="tt">ans1</span> <span class="tt">ans2</span> Ƕʽ</td>
x<sup>2</sup>-5x+6Ϊȷ.</td></tr>
$table_tr<td class="tt">sin(\ans1)=0</td>
<td> <span class="tt">ans1</span> $m_pi ıΪȷ.</td></tr>
$table_end <p>
ڶشο
!href cmd=help&special_parm=oef OEF ʽİ.
</p>
<h3 id="weight">ѡ <span class="tt">weight</span></h3>
ɶԻشȨ.
<p>
:
<pre>\answer{}{1}{type=numeric}{weight=8}
\answer{}{1}{type=numeric}{weight=2}
</pre>
ȨػӰԼٷֱ.
ñΪ <span class="tt">weight</span> IJ,
<span class="tt wims_code_variable">\statement</span> ֮ǰĻ.
</p><p>
:
<pre>
\text{w = \t = 1 ? 1 : 2}
\answer{}{1}{type=numeric}{weight=\w}
\answer{}{1}{type=numeric}{weight=3}
</pre>
<h3 id="option">ѡ <span class="tt">option</span></h3>
<span class="tt">\answer</span> <span class="tt">\condition</span> option
<ul>
<li>
<span class="tt">option=split</span> : = <span class="tt">correspond</span>, <span class="tt">checkbox</span> <span class="tt">mark</span> ʱ,
Իشָ.
</li>
<li>
<span class="tt">option=nonstop</span> : ڷֲϰ,
ʹ, Ȼһ.
</li>
<li><span class="tt">option=noanalyzeprint</span> : ӡԻشԶ.
ṩʵķ. ijЩ, <span class="tt">mark</span>,
ʱԶõķ. ע: ķҲٴӡ.
ֻе÷Աӡ.</li>
<li> <span class="tt">condition</span> :
<span class="tt">option=hide</span> : ڶԻشķ, ӡ.
</li>
</ul>
|