Subversion Repositories wimsdev

Rev

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

Rev 8454 Rev 8559
Line 142... Line 142...
142
 \integer{v1=5}
142
 \integer{v1=5}
143
 \text{t1=this is target 2}
143
 \text{t1=this is target 2}
144
#endif
144
#endif
145
</pre>
145
</pre>
146
in order to make the contents target-dependent.
146
in order to make the contents target-dependent.
-
 
147
<p>
-
 
148
The name of the file (in the example,
-
 
149
<span class="tt wims_code_words">targ1</span>, ...)
-
 
150
is available by the variable
-
 
151
<span class="tt wims_code_words">OEFFILE</span>.
-
 
152
In the following example, the title of the exercise will be
-
 
153
<span class="tt wims_code_words">targ1</span>
-
 
154
</p>
-
 
155
<pre>
-
 
156
#if defined TARGET_targ1
-
 
157
 \title{OEFFILE}
-
 
158
 \integer{v1=3}
-
 
159
 \text{t1=dit is target 1}
-
 
160
#endif
-
 
161
</pre>
147
<p>
162
<p>
148
Include files should also be put into the src/cpp directory, with extension
163
Include files should also be put into the src/cpp directory, with extension
149
.inc. A line
164
.inc. A line
150
</p>
165
</p>
151
<pre>
166
<pre>