Änderungen von Dokument Text Variablen
Zuletzt geändert von Carina Enke am 25.07.2024
Von Version 420.1
bearbeitet von Carina Enke
am 24.09.2018
am 24.09.2018
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.11.1.
Auf Version 410.1
bearbeitet von Carina Enke
am 29.01.2019
am 29.01.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.6.
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -1,3 +1,4 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 2 2 {{layout-section ac:type="single"}} 3 3 {{layout-cell}} ... ... @@ -165,3 +165,92 @@ 165 165 {{/layout-cell}} 166 166 {{/layout-section}} 167 167 {{/layout}} 169 +{{/sv-translation}} 170 + 171 +{{sv-translation language="en"}} 172 +{{layout}} 173 +{{layout-section ac:type="two_right_sidebar"}} 174 +{{layout-cell}} 175 +You can generate variables with text content. For this purpose, the variable type "**Text**" is available to you. 176 + 177 +[[image:attach:image2017-3-23 8:25:28.png]] 178 + 179 +To alter the value for the text variable, different options are available, which will be explained in the following sections. 180 + 181 +[[image:attach:image2017-3-23 8:27:46.png]] 182 +{{/layout-cell}} 183 + 184 +{{layout-cell}} 185 +{{scroll-ignore}} 186 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 187 + 188 + 189 +{{toc/}} 190 + 191 +**Related topics** 192 + 193 +* [[Calculation task>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]] 194 +* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v1.11||shape="rect"]] 195 + 196 +**Further information** 197 + 198 +* [[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]] 199 +{{/panel}} 200 +{{/scroll-ignore}} 201 +{{/layout-cell}} 202 +{{/layout-section}} 203 + 204 +{{layout-section ac:type="single"}} 205 +{{layout-cell}} 206 +== Random selection == 207 + 208 +Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon. 209 + 210 +If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")// 211 + 212 +**Possible entries are for example:** 213 + 214 +* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle". 215 + 216 +=== Example "digging a hole" === 217 + 218 +|((( 219 +[[image:attach:image2017-3-23 8:32:30.png]] 220 +)))|((( 221 +In the example, the text variable {PEOPLE} will be randomly initialised with one of the following values: "men", "women", or "children". 222 +))) 223 +|((( 224 +[[image:attach:image2017-3-23 8:36:15.png]] 225 +)))|((( 226 +To insert the variable into the task text, you need to type the variable name {PEOPLE}. In the example, the variable is included in a task of the type [[calculation (cloze)>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]]. 227 +))) 228 +|((( 229 +[[image:attach:image2017-3-23 8:38:49.png]] 230 +)))|((( 231 +One of the defined values will then be randomly chosen for each participant and each test attempt. In the example, the value "women" was inserted. 232 +))) 233 + 234 +== Direct value assignment == 235 + 236 +You can directly assign a value to all types of variables in order to initialise them. Later on, the value can be changed depending on other variables (cf. conditions). 237 + 238 +**Possible entries are for example:** 239 + 240 +* //Value: Hans: //The variable is assigned the value "Hans". 241 +* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly". 242 + 243 +== Calculation (MAXIMA) == 244 + 245 +[[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]] allows for the work with strings and formulas. You can calculate variable values on the basis of other variables. Indicate your calculation rule in MAXIMA notation. 246 + 247 +**Possible entries are for example:** 248 + 249 +* //Calculation (MAXIMA): string({a}*x+5): //A simple function equation is calculated including the variable value {a}. Plase note that the variable {a} must have been previously defined. 250 +* //Calculation (MAXIMA): string(integrate({function},x,0,1)): //MAXIMA enables complex mathematical calculations. The derivative of a sample function (e.g. 5*x+5) could result in the value "15/2". 251 +* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content. 252 + 253 +[[image:attach:image2017-3-22 15:24:50.png]] 254 +{{/layout-cell}} 255 +{{/layout-section}} 256 +{{/layout}} 257 +{{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 1788808731 +202113201 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/ 178880873/Textvariablen1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/202113201/Textvariablen