Subversion Repositories wimsdev

Rev

Rev 8724 | Rev 14972 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8724 Rev 14040
Line 69... Line 69...
69
</pre>
69
</pre>
70
 
70
 
71
These commands can be used either within statement, hint, solution or
71
These commands can be used either within statement, hint, solution or
72
feedback, or in the main environment. In the latter case, the conditional
72
feedback, or in the main environment. In the latter case, the conditional
73
execution only affects parameter definitions.
73
execution only affects parameter definitions.
74
 
-
 
75
<a id="special"></a>
-
 
76
<h3>Special methods</h3>
-
 
77
 
-
 
78
With the command <span class="tt wims_code_words">\special{...}</span> in the statement of an exercise, the
-
 
79
following special methods are available:
-
 
80
<br />
-
 
81
!if $special_parm=all
-
 
82
 !for sp in $special_list
-
 
83
  <h4 class="wimscenter">The special method <span class="tt wims_code_words">$sp</span></h4>
-
 
84
  General syntax: <span class="wims_code_words">\special{$sp <i>parameters</i>}</span>
-
 
85
<div>
-
 
86
 
-
 
87
  !read oef/special/$sp.phtml help
-
 
88
  </div>
-
 
89
 !next sp
-
 
90
!else
-
 
91
 !for sp in $special_list
-
 
92
  !href cmd=help&special_parm=oefadv&special_parm2=$sp#special $sp
-
 
93
  &nbsp;
-
 
94
 !next sp
-
 
95
!endif
-
 
96
 
-
 
97
!if $special_parm2 isitemof $special_list
-
 
98
<h4 class="wimscenter">The special method <span class="tt wims_code_words">$special_parm2</span></h4>
-
 
99
General syntax: <span class="wims_code_words">\special{$special_parm2 <i>parameters</i>}</span> <div>
-
 
100
 
-
 
101
!read oef/special/$special_parm2.phtml help
-
 
102
</div>
-
 
103
!endif
-
 
104
 
74
 
105
<h3>Preprocessed sources</h3>
75
<h3>Preprocessed sources</h3>
106
 
76
 
107
This feature is not available for Createxo. You can use it if you write OEF
77
This feature is not available for Createxo. You can use it if you write OEF
108
(and Deductio) exercises under Modtool.
78
(and Deductio) exercises under Modtool.