Änderungen von Dokument Text Variablen

Zuletzt geändert von Carina Enke am 26.11.2025

Von Version 359.1
bearbeitet von Carina Enke
am 22.01.2020
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.9.
Auf Version 468.1
bearbeitet von Carina Enke
am 26.11.2025
Änderungskommentar: Migrated property [stableId] from class [Confluence.Code.ConfluencePageClass]

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -Text Variables
1 +Text Variablen
Übergeordnete Seite
... ... @@ -1,0 +1,1 @@
1 +ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome
Inhalt
... ... @@ -1,49 +1,37 @@
1 -{{sv-translation language="de"}}
2 -{{layout}}
3 -{{layout-section ac:type="single"}}
4 -{{layout-cell}}{{/layout-cell}}
5 -{{/layout-section}}
6 -
7 -{{layout-section ac:type="two_right_sidebar"}}
8 -{{layout-cell}}
1 +{{section}}
2 +{{column width="60%"}}
9 9  Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung.
10 10  
11 -[[image:attach:Editor - Textvariable Typauswahl_de.png]]
5 +[[image:attach:Editor - Textvariable Typauswahl_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="153" width="338"]]
12 12  
13 13  Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt.
14 14  
15 -[[image:attach:Editor - Textvariable Wertsetzung_de.png]]
9 +[[image:attach:Editor - Textvariable Wertsetzung_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="127" width="340"]]
16 16  
17 -
18 18  
19 19  (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
13 +
14 +{{/column}}
20 20  
21 -{{/layout-cell}}
22 -
23 -{{layout-cell}}
24 -{{scroll-ignore}}
25 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
26 -
27 -
28 -{{toc/}}
16 +{{column width="30%"}}
17 +{{panel title="Inhalt"}}
18 +{{toc start="2"/}}
29 29  {{/panel}}
30 30  
31 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}}
32 -* [[doc:Berechnungsaufgabe]]
33 -* [[doc:Formelvergleich]]
21 +{{panel title="Verwandte Themen"}}
22 +* [[Berechnungsaufgabe>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Berechnungsaufgabe.WebHome]]
23 +* [[Formelvergleich>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Formelvergleich.WebHome]]
34 34  {{/panel}}
35 35  
36 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}}
26 +{{panel title="Weiterführende Informationen"}}
37 37  * [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]]
38 38  * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
39 39  * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
40 40  {{/panel}}
41 -{{/scroll-ignore}}
42 -{{/layout-cell}}
43 -{{/layout-section}}
31 +{{/column}}
32 +{{/section}}
44 44  
45 -{{layout-section ac:type="single"}}
46 -{{layout-cell}}
34 +
47 47  == Zufällige Auswahl ==
48 48  
49 49  Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden durch Zeilenumbruch, Komma oder Semikolon getrennt.
... ... @@ -52,13 +52,13 @@
52 52  **Mögliche Eingaben sind beispielsweise:**
53 53  
54 54  * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad".
55 -\\
43 +
56 56  
57 57  {{info}}
58 58  Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien:
59 59  
60 -* [[Beispiel "Digging a hole">>doc:Beispiele zum Einsatz von Variablen]]
61 -* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:Beispiele zum Einsatz von Variablen]]
48 +* [[Beispiel "Digging a hole">>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel - Digging a hole.WebHome]]
49 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel Transport - Einsatz von Zufallsparametern.WebHome]]
62 62  {{/info}}
63 63  
64 64  == Direkte Wert-Setzung ==
... ... @@ -84,92 +84,4 @@
84 84  * //Berechnung (MAXIMA): string(integrate({function},x,0,1)):** **//MAXIMA ermöglicht komplexe mathematische Berechnungen. Die Ableitung einer Beispielfunktion (bspw. 5*x+5) könnte als Wert "15/2" zurückliefern.
85 85  * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten.
86 86  
87 - [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]]
88 -{{/layout-cell}}
89 -{{/layout-section}}
90 -{{/layout}}
91 -{{/sv-translation}}
92 -
93 -{{sv-translation language="en"}}
94 -{{layout}}
95 -{{layout-section ac:type="two_right_sidebar"}}
96 -{{layout-cell}}
97 -For variables with text, select the type //**Text**//.
98 -
99 -[[image:attach:Editor - Textvariable Typauswahl_de.png]]
100 -
101 -Below, you will find instructions on how to configure different values for your text variables.
102 -
103 -[[image:attach:Editor - Textvariable Wertsetzung_de.png]]
104 -{{/layout-cell}}
105 -
106 -{{layout-cell}}
107 -{{scroll-ignore}}
108 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}}
109 -
110 -
111 -{{toc/}}
112 -{{/panel}}
113 -
114 -{{panel title="Related topics"}}
115 -* [[Calculation interaction>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v8.X||shape="rect"]]
116 -* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v8.X||shape="rect"]]
117 -{{/panel}}
118 -
119 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}}
120 -* [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]
121 -* [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
122 -* [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
123 -{{/panel}}
124 -{{/scroll-ignore}}
125 -{{/layout-cell}}
126 -{{/layout-section}}
127 -
128 -{{layout-section ac:type="single"}}
129 -{{layout-cell}}
130 -== Random selection ==
131 -
132 -Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon.
133 -
134 -If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")//
135 -
136 -**Possible entries are for example:**
137 -
138 -* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle".
139 -\\
140 -
141 -{{info}}
142 -The following examples for the use of numerical variables to generate random values show typical application scenarios:
143 -
144 -* [[Example "Digging a hole">>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.7||shape="rect"]]
145 -* [[Example "Transport" - Use of random parameters>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.7||shape="rect"]]
146 -{{/info}}
147 -
148 -== Direct value assignment ==
149 -
150 -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).
151 -
152 -**Possible entries are for example:**
153 -
154 -* //Value: Hans: //The variable is assigned the value "Hans".
155 -* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly".
156 -
157 -== Calculation (MAXIMA) ==
158 -
159 -[[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.
160 -
161 -{{info}}
162 -For further information on the MAXIMA notation, please refer to the [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]. A valuable compilation of examples can be found in the form of a wiki under [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]].
163 -{{/info}}
164 -
165 -**Possible entries are for example:**
166 -
167 -* //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.
168 -* //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".
169 -* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content.
170 -
171 -[[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]]
172 -{{/layout-cell}}
173 -{{/layout-section}}
174 -{{/layout}}
175 -{{/sv-translation}}
75 + [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
Editor - Textvariable Typauswahl_de.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Größe
... ... @@ -1,0 +1,1 @@
1 +6.6 KB
Inhalt
Editor - Textvariable Wertsetzung per Maxima_de.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Größe
... ... @@ -1,0 +1,1 @@
1 +26.3 KB
Inhalt
Editor - Textvariable Wertsetzung_de.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Größe
... ... @@ -1,0 +1,1 @@
1 +6.4 KB
Inhalt
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -312738547
1 +84115539
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/312738547/Text Variables
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/84115539/Text Variables