This commit is contained in:
Daniel Schubert 2019-01-04 10:41:14 +01:00
parent fa163ed552
commit b0a0fd2c23
10 changed files with 2587 additions and 19 deletions

168
4.html
View File

@ -29,6 +29,10 @@
document.getElementsByTagName( 'head' )[0].appendChild( link ); document.getElementsByTagName( 'head' )[0].appendChild( link );
</script> </script>
<style type="text/css">
.reveal img{ max-height: 60vh}
</style>
</head> </head>
@ -196,6 +200,24 @@ USER Benutzername</code></pre>
</ul> </ul>
</section> </section>
<section>
Damit ein Script wie ein Programm startet:
<ul>
<li class="fragment ">Pfad d. Skriptes der $PATH Variable hinzufügen</li>
<li class="fragment "><pre><code>export PATH=$PATH:/pfad/zum/script</code></pre></li>
<li class="fragment ">muss in die .bashrc</li>
<li class="fragment ">Best Practice: Scripte in Ordner <code>~/bin/</code> -> diesen zur <code>$PATH</code> dazu</li>
</ul>
<aside class="notes">
PATH nur in der aktuellen Sizung -> sonst in die .bashrc
</aside>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="zoom">
<h2>Gentlemen, open your Editor! </h2>
</section>
<section style="font-size: .6em"> <section style="font-size: .6em">
<pre><code>#!/bin/bash <pre><code>#!/bin/bash
@ -218,8 +240,8 @@ uptime
MSG="\nDas ist alles! Bye, $USER! \n\n" MSG="\nDas ist alles! Bye, $USER! \n\n"
printf "${MSG}"</code></pre> printf "${MSG}"</code></pre>
<p><small><a href="https://www.schubertdaniel.de/linuxkurs" target="_blank">https://www.schubertdaniel.de/linuxkurs</a></small>
<small><a href="https://git.scytec.de/danthefan/linuxkurs/raw/master/beispiele/mysystem.sh" target="_blank">https://git.scytec.de/danthefan/linuxkurs/raw/master/beispiele/mysystem.sh</a></small> <p><small><a href="https://git.scytec.de/danthefan/linuxkurs/raw/master/beispiele/mysystem.sh" target="_blank">https://git.scytec.de/danthefan/linuxkurs/raw/master/beispiele/mysystem.sh</a></small>
</section> </section>
<section> <section>
@ -280,19 +302,7 @@ dany 23893 4143 0 12:33 pts/4 00:00:00 bash
<p class="fragment "> Der <span class="fragment highlight-red">Kontext</span> aller Script Variablen ist der der <span class="fragment highlight-red">sub-shell</span> <p class="fragment "> Der <span class="fragment highlight-red">Kontext</span> aller Script Variablen ist der der <span class="fragment highlight-red">sub-shell</span>
</section> </section>
<section>
Damit Script wie Programm startet:
<ul>
<li class="fragment ">Pfad d. Skriptes der $PATH Variable hinzufügen</li>
<li class="fragment "><pre><code>export PATH=$PATH:/pfad/zum/script</code></pre></li>
<li class="fragment ">muss in die .bashrc</li>
<li class="fragment ">Best Practice: Scripte in Ordner <code>~/bin/</code> -> diesen zur <code>$PATH</code> dazu</li>
</ul>
<aside class="notes">
PATH nur in der aktuellen Sizung -> sonst in die .bashrc
</aside>
</section>
<section> <section>
Ein weiteres Beispiel: Ein weiteres Beispiel:
@ -315,13 +325,135 @@ fi
</section> </section>
<section> <section>
<p>Kommando Verkettung</p> <div><span style="color: orange">Aufgabe:</span> Erstellt ein script, das alle Dateien in eurem home in einer tar.gz - Datei archiviert, das Verzeichnis "~/archiv" erstellt, und die tar.gz Datei dorthin verschiebt.<br />
Hinweis: tar -czf .....
<p class="fragment">https://linuxconfig.org/bash-scripting-tutorial</p></div>
<dir class="fragment"><pre><code>#!/bin/bash
tar -czf myhome_directory.tar.gz /home/$USER
mkdir archiv
mv myhome_directory.tar.gz archiv/
</code></pre></dir>
<ul>
<li class="fragment ">this</li>
</ul>
</section> </section>
<section>
<h3>Kontrollstrukturen</h3>
</section>
<section>
<h4>if then </h4>
<img src="img/if_then_else.svg">
</section>
<section><pre><code>#!/bin/bash
cd
ls
if [ -e sample.sh ]
then
echo "file exists!"
else
echo "file does not exist"
fi</code></pre></section>
<section>
<h4>if then elif</h4>
<img src="img/2_if_then_elif_fi.svg">
</section>
<section><pre style="font-size: .35em"><code>#!/bin/bash
cd
ls -l
read -p "Enter a file name: " filename
if [ -e $filename ]
then
echo "file exists!"
if [ -r $filename ]
then
status="readable "
fi
if [ -w $filename ]
then
status=$status"writable "
fi
if [ -x $filename ]
then
status=$status"executable"
fi
echo "file permission: "$status
else
echo "file does not exist"
fi</code></pre></section>
<section>
<h4>for loop</h4>
<img src="img/for.svg">
</section>
<section><pre><code>#!/bin/bash
for f in {1..9}
do
touch "$f xx.txt"
done</code></pre></section>
<section>
<h4>case</h4>
<img src="img/3_case_var.jpg">
</section>
<section><pre style="font-size: .35em"><code>#!/bin/bash
clear
read -p "Integer1: " int1
read -p "Integer2: " int2
printf "Menu: \n[a] Addition\n[b]Subtraction\n[c]Multiplication\n[d]Division\n"
echo "======================"
read -p "Your choice: " choice
res=0
case $choice in
a)
res=$((int1+int2))
;;
b)
res=$((int1-int2))
;;
c)
res=$((int1*int2))
;;
d)
res=$((int1/int2))
;;
*)
echo "Invalid input"
esac
echo "The result is: " $res</code></pre></section>
<section>
<h4>while loop</h4>
<img src="img/4_while.svg">
</section>
<section><pre><code>#!/bin/bash
x=1
while [ $x -le 5 ]
do
echo "Welcome $x times"
x=$(( $x + 1 ))
done</code></pre></section>
<section>
<h4>until loop</h4>
<img src="img/until.svg">
</section>
<section><pre><code>#!/bin/bash
i=1
until [ $i -gt 6 ]
do
echo "Welcome $i times."
i=$(( i+1 ))
done</code></pre></section>
<section><h3>while vs until</h3>
<ol>
<li>until läuft bis Bedingung nicht 0 (false)</li>
<li>while läuft bis Bedingung 0 (true)</li>
<li>until läuft mind. einmal</li>
</ol>
</section>
</div> </div>
</div> </div>

117
6.html Normal file
View File

@ -0,0 +1,117 @@
<!doctype html>
<html lang="de">
<meta charset="utf-8">
<title>Einführung in Linux</title>
<meta name="description" content="YALC - Yet Another Linux Course ">
<meta name="author" content="Daniel Schubert">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/league.css" id="theme">
<link rel="icon" href="img/openlogo-nd-25.png" type="img/png">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section data-transition="slide" data-background="#4d7e65" data-background-transition="zoom">
<h1>LINUX</h1>
<h3>Das universelle Betriebssystem</h3>
<p>Eine Einführung - Teil 6
<p>
<small>Deutsche Angestellten Akademie</small>
</p>
<aside class="notes">
Frage: Fragen zur letzten Stunde?
</aside>
</section>
<section>
<h2>vim und emacs</h2>
<h3>Die mächtigen Unix Editoren</h3>
</section>
<section data-transition="slide" data-background="#4d7e65" data-background-transition="zoom">
<h3>vim</h3>
<ul>
<li class="fragment">ein Editor für die shell </li>
<li class="fragment">immer da, oft in der alten Variante „vi“ </li>
<li class="fragment">Vi IMproved</li>
<li class="fragment">komplett per Kürzel steuerbar </li>
<li class="fragment">umfassend anpassbar </li>
<li class="fragment">erweiterbar </li>
<li class="fragment">syntax highlighting </li>
<li class="fragment">vim ist einfach cool ;-)</li>
</ul>
</section>
<section>
<h3>Die 5 Level eines Vim Magiers</h3>
<ul>
<li>Level 0: nichts über vim wissen
<li>Level 1: vim basics kennen
<li>Level 2: den visual mode kennen
<li>Level 3: diverse „motions“ kennen
<li>Level 4: den visual mode nicht brauchen
</ul>
<p>https://danielmiessler.com/study/vim/
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/search/search.js', async: true },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>

1
beispiele/remove-spaces.sh Normal file → Executable file
View File

@ -13,4 +13,5 @@ if [ $# -gt 0 ]
echo "Kein Suffix gegeben!!" echo "Kein Suffix gegeben!!"
echo "Verwendung: strip-space.sh SUFFIX" echo "Verwendung: strip-space.sh SUFFIX"
echo "Beende ...." echo "Beende ...."
exit 1
fi fi

431
img/2_if_then_elif_fi.svg Normal file
View File

@ -0,0 +1,431 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg3179"
version="1.1"
inkscape:version="0.48.4 r9939"
width="1024"
height="768"
sodipodi:docname="2_if-then-elif-fi_neu.svg">
<metadata
id="metadata3185">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs3183" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1846"
inkscape:window-height="1056"
id="namedview3181"
showgrid="false"
inkscape:zoom="1.1154791"
inkscape:cx="644.75847"
inkscape:cy="301.2828"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1"
inkscape:current-layer="svg3179" />
<path
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 327.24595,179.41886 471.7989,142.13941 613.30863,179.41886 471.7989,215.17669 z"
id="path3063"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
x="405.20349"
y="186.71465"
id="text3067"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3069"
x="405.20349"
y="186.71465">If...condition</tspan></text>
<path
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:0.80726725px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 525.82658,355.91705 96.31252,-36.46268 94.28488,36.46268 -94.28488,34.97439 z"
id="path3063-1"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:19.88401413px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
x="559.66364"
y="362.47211"
id="text3067-7"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3069-4"
x="559.66364"
y="362.47211"> elif...condition</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="301.66409"
y="268.66299"
id="text3390"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3392"
x="301.66409"
y="268.66299" /></text>
<text
xml:space="preserve"
style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="298.52643"
y="269.55945"
id="text3394"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3396"
x="298.52643"
y="269.55945" /></text>
<text
xml:space="preserve"
style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="297.62997"
y="273.5936"
id="text3398"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3400"
x="297.62997"
y="273.5936">true</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="619.01654"
y="274.49008"
id="text3402"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3404"
x="619.01654"
y="274.49008"
style="font-size:26px">false </tspan></text>
<path
style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:1.81016743;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 614.80324,284.40359 3.97971,16.5482 -10.62185,-13.92806 1.65629,-0.59127 -36.31156,-72.55918 3.0067,-1.21647 36.31156,72.55919 z"
id="path4150"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:#00b400;fill-opacity:1;stroke:#000000;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none"
d="m 358.91841,344.72518 -13.19649,20.67657 3.83575,-24.9508 2.26978,1.12792 39.00373,-110.23786 4.26889,1.90439 -39.00374,110.23787 z"
id="path2987"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<rect
rx="18.927685"
ry="18.215754"
y="387.81744"
x="278.60309"
height="191.9996"
width="130.39072"
id="rect4088"
style="opacity:0.8;fill:#00c700;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.08471704;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none" />
<g
transform="translate(267.23909,25.797749)"
id="g4045">
<text
sodipodi:linespacing="125%"
id="text4047"
y="408.51962"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="408.51962"
x="28.910589"
id="tspan4049"
sodipodi:role="line">then</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4051"
y="445.79907"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="445.79907"
x="28.910589"
id="tspan4053"
sodipodi:role="line">command 1</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4055"
y="470.52524"
x="27.388981"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="470.52524"
x="27.388981"
id="tspan4057"
sodipodi:role="line">command 2</tspan><tspan
y="493.02524"
x="27.388981"
sodipodi:role="line"
id="tspan3502">... </tspan></text>
<text
sodipodi:linespacing="125%"
id="text4059"
y="511.2283"
x="28.149784"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="511.2283"
x="28.149784"
id="tspan4061"
sodipodi:role="line">commandN</tspan></text>
</g>
<path
style="fill:#00b400;fill-opacity:1;stroke:#000000;stroke-width:0.73392171;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 568.98581,466.05186 -5.66981,16.21017 -1.39574,-17.61852 1.72792,0.40385 8.86349,-81.38671 3.21497,0.61172 -8.8635,81.38671 z"
id="path2987-0"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:0.66402692;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 710.92313,459.09002 2.46916,17.11959 -7.9804,-14.71276 1.37144,-0.53656 -26.13478,-75.85253 2.49618,-1.12066 26.13476,75.85254 z"
id="path4150-9"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="497.09583"
y="402.23788"
id="text3540"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3542"
x="497.09583"
y="402.23788">true</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="723.90424"
y="407.61673"
id="text3544"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3546"
x="723.90424"
y="407.61673">false </tspan></text>
<text
xml:space="preserve"
style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="787.10571"
y="372.20593"
id="text3548"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3550"
x="787.10571"
y="372.20593"> </tspan></text>
<path
style="fill:#000400;fill-opacity:1;stroke:#000000;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 507.73309,662.38851 24.65132,19.99829 -33.34209,-10.27594 2.23378,-2.33588 -140.75312,-70.68321 3.90136,-4.44434 140.75316,70.68319 z"
id="path2987-4"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<rect
style="fill:none;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
id="rect3920"
width="96.241837"
height="41.844276"
x="499.62579"
y="708.52942" />
<rect
rx="13.246932"
ry="13.246932"
y="493.35675"
x="671.55231"
height="136.29622"
width="91.256638"
id="rect4148"
style="fill:#ffd5d5;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.77385473;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none" />
<g
id="g4063"
transform="matrix(0.77385473,0,0,0.77385473,658.97542,204.86597)">
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.910589"
y="408.51962"
id="text4065"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4067"
x="28.910589"
y="408.51962">else</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.910589"
y="445.79907"
id="text4069"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4071"
x="28.910589"
y="445.79907">command 1</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="27.388981"
y="470.52524"
id="text4073"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4075"
x="27.388981"
y="470.52524">command 2</tspan><tspan
sodipodi:role="line"
x="27.388981"
y="493.02524"
id="tspan4477">...</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.149784"
y="511.2283"
id="text4077"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4079"
x="28.149784"
y="511.2283">commandN</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="536.98901"
y="729.45154"
id="text4479"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4481"
x="536.98901"
y="729.45154" /></text>
<text
xml:space="preserve"
style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="524.43835"
y="734.83038"
id="text4483"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4485"
x="524.43835"
y="734.83038" /></text>
<flowRoot
xml:space="preserve"
id="flowRoot4533"
style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Sans;font-style:normal;font-weight:normal;font-size:20px;line-height:125%;letter-spacing:0px;word-spacing:0px"><flowRegion
id="flowRegion4535"><rect
id="rect4537"
width="149.71146"
height="165.84802"
x="764.69385"
y="664.90527" /></flowRegion><flowPara
id="flowPara4539"></flowPara></flowRoot> <path
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none"
d="m 588.24071,677.64834 -13.57589,3.82219 11.19484,-9.23874 0.54233,1.35265 58.92592,-32.37748 1.10301,2.45094 -58.92593,32.37749 z"
id="path4150-2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<rect
style="opacity:0.80000000000000004;fill:#00ffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.76568018999999998;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none"
id="rect3879"
width="90.716553"
height="134.22632"
x="518.79907"
y="496.04218"
ry="13.045754"
rx="13.168533" />
<g
id="g4027"
transform="matrix(0.85818745,0,0,0.85818745,498.83909,169.58543)">
<text
sodipodi:linespacing="125%"
id="text4029"
y="408.51962"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="408.51962"
x="28.910589"
id="tspan4031"
sodipodi:role="line">then</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4033"
y="445.79907"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="445.79907"
x="28.910589"
id="tspan4035"
sodipodi:role="line">command 1</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4037"
y="470.52524"
x="27.388981"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="470.52524"
x="27.388981"
id="tspan4039"
sodipodi:role="line">command 2</tspan><tspan
y="493.02524"
x="27.388981"
sodipodi:role="line"
id="tspan4604">...</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4041"
y="511.2283"
x="28.149784"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="511.2283"
x="28.149784"
id="tspan4043"
sodipodi:role="line">commandN</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="536.98901"
y="736.62335"
id="text4606"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4608"
x="536.98901"
y="736.62335">fi</tspan></text>
</svg>

After

Width:  |  Height:  |  Size: 17 KiB

BIN
img/3_case_var.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

662
img/4_while.svg Normal file
View File

@ -0,0 +1,662 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1280"
height="1052.36"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="4_while.svg">
<defs
id="defs4">
<marker
inkscape:stockid="Arrow1Sstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Sstart"
style="overflow:visible">
<path
id="path5677"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
transform="scale(0.2) translate(6,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Lstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Lstart"
style="overflow:visible">
<path
id="path5683"
style="fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(1.1) translate(1,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Lend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Lend"
style="overflow:visible;">
<path
id="path5686"
style="fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(1.1) rotate(180) translate(1,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lend"
style="overflow:visible;">
<path
id="path5668"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;"
transform="scale(0.8) rotate(180) translate(12.5,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Mstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Mstart"
style="overflow:visible">
<path
id="path5671"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
transform="scale(0.4) translate(10,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Lstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lstart"
style="overflow:visible">
<path
id="path5665"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt"
transform="scale(0.8) translate(12.5,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow1Mstart-6"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5671-6"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(0.4,0,0,0.4,4,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow1Mstart-8"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5671-4"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(0.4,0,0,0.4,4,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow1Mstart-63"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5671-7"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(0.4,0,0,0.4,4,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow1Mstart-82"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5671-9"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(0.4,0,0,0.4,4,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5689"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Lstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Lstart-3"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5683-5"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="matrix(1.1,0,0,1.1,1.1,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Sstart"
orient="auto"
refY="0"
refX="0"
id="Arrow1Sstart-1"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5677-5"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(0.2,0,0,0.2,1.2,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-4"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5689-9"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.93139221"
inkscape:cx="273.87801"
inkscape:cy="483.10499"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1846"
inkscape:window-height="1056"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true">
<sodipodi:guide
orientation="1,0"
position="742.46212,986.91904"
id="guide6691" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-0.00216797)">
<rect
style="fill:none;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect4966"
width="90"
height="53.57143"
x="378.57141"
y="224.505"
rx="10.945502"
ry="10.945502" />
<text
xml:space="preserve"
style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ff0000;fill-opacity:1;stroke:none;font-family:Sans"
x="405.71411"
y="264.505"
id="text5476"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5478"
x="405.71411"
y="264.505">i=1</tspan></text>
<g
id="g5504"
transform="matrix(0.99658741,-0.00229978,0.00232087,0.98753224,0.92657328,-89.370634)">
<path
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1.13022983px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 260.67521,445.99234 426.43208,403.5295 574.40876,447.80657 412.28424,488.5181 z"
id="path3063-1-5-8"
inkscape:connector-curvature="0" />
</g>
<text
xml:space="preserve"
style="font-size:30.80151749px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="318.43253"
y="419.76855"
id="text4532-0-6"
sodipodi:linespacing="125%"
transform="matrix(1.1756947,0.00679872,-0.14145453,0.84974296,0,0)"><tspan
sodipodi:role="line"
id="tspan4534-2-5"
x="318.43253"
y="419.76855"><tspan
id="tspan5493"
style="font-size:24px">While [ <tspan
id="tspan5495"
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Arial Bold">$i &lt; 10 </tspan>] </tspan></tspan></text>
<rect
style="fill:#ececec;fill-opacity:1;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect5507"
width="278.57144"
height="226.42857"
x="275.0358"
y="450.20139"
rx="24.516932"
ry="32.374073" />
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="289.66748"
y="461.28854"
id="text5509"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5511"
x="289.66748"
y="461.28854" /><tspan
id="tspan5551"
sodipodi:role="line"
x="289.66748"
y="491.28854">do</tspan><tspan
sodipodi:role="line"
x="289.66748"
y="521.28851"
id="tspan5515" /><tspan
sodipodi:role="line"
x="289.66748"
y="551.28851"
id="tspan5517">command</tspan><tspan
sodipodi:role="line"
x="289.66748"
y="581.28851"
id="tspan5519">command</tspan><tspan
sodipodi:role="line"
x="289.66748"
y="611.28851"
id="tspan3224">commandN</tspan><tspan
sodipodi:role="line"
x="289.66748"
y="642.95972"
id="tspan5523"
style="font-size:26px;font-weight:bold;fill:#ff0000;-inkscape-font-specification:Arial Bold"> (($i++))</tspan></text>
<g
id="g5546"
transform="translate(-70,-75.714286)">
<rect
ry="32.374073"
rx="8.0883598"
y="813.79071"
x="395.71429"
height="45"
width="172.85715"
id="rect5540"
style="fill:#f9f9f9;fill-opacity:1;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<text
sodipodi:linespacing="125%"
id="text5542"
y="845.2193"
x="450.71426"
style="font-size:28px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
xml:space="preserve"><tspan
y="845.2193"
x="450.71426"
id="tspan5544"
sodipodi:role="line">done </tspan></text>
</g>
<flowRoot
xml:space="preserve"
id="flowRoot5553"
style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Arial;font-style:normal;font-weight:normal;font-size:22px;line-height:125%;letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:Arial;font-stretch:normal;font-variant:normal"><flowRegion
id="flowRegion5555"><rect
id="rect5557"
width="16.428572"
height="25"
x="367.14285"
y="509.50284" /></flowRegion><flowPara
id="flowPara5559" /></flowRoot> <text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="75.714287"
y="194.50284"
id="text5573"
sodipodi:linespacing="125%"
transform="translate(0,0.00216797)"><tspan
sodipodi:role="line"
id="tspan5575"
x="75.714287"
y="194.50284" /></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#008000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold"
x="72.857147"
y="203.07645"
id="text5577"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5579"
x="72.857147"
y="203.07645">Solange Bedingung erfüllt ist,</tspan><tspan
sodipodi:role="line"
x="72.857147"
y="225.57645"
id="tspan5581">liefert der Rückgabewert 0,</tspan><tspan
sodipodi:role="line"
x="72.857147"
y="248.07645"
id="tspan5583">Schleifenkommandos werden </tspan><tspan
sodipodi:role="line"
x="72.857147"
y="270.57645"
id="tspan5585">weiterhin ausgeführt.</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ff0000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="97.142853"
y="845.2193"
id="text5587"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5589"
x="97.142853"
y="845.2193">Bedingung nicht mehr erfüllt,</tspan><tspan
sodipodi:role="line"
x="97.142853"
y="867.7193"
id="tspan5591">Rückgabewert 1, Schleife wird </tspan><tspan
sodipodi:role="line"
x="97.142853"
y="890.2193"
id="tspan5593">beendet.</tspan></text>
<g
id="g3218"
transform="matrix(1.2147577,0,0,1.2147577,-152.3588,-86.101613)">
<g
id="g3215">
<rect
style="fill:#f9f9f9;fill-opacity:1;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect5595"
width="256.42856"
height="42.857143"
x="491.42856"
y="103.78856"
transform="translate(0,0.00216797)"
rx="1.6597886"
ry="0.94550157" />
</g>
<text
sodipodi:linespacing="125%"
id="text5597"
y="134.08658"
x="542.14288"
style="font-size:28px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
xml:space="preserve"><tspan
y="134.08658"
x="542.14288"
id="tspan5599"
sodipodi:role="line">While loop</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="770.71423"
y="253.02568"
id="text5601"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5603"
x="770.71423"
y="253.02568">Variable <tspan
style="fill:#000000"
id="tspan5605"><tspan
style="fill:#ff0000"
id="tspan5613">außerhalb (!) </tspan>der While-</tspan></tspan><tspan
sodipodi:role="line"
x="770.71423"
y="283.02567"
id="tspan5611">Schleife initialisieren</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="1010.7143"
y="225.93141"
id="text5607"
sodipodi:linespacing="125%"
transform="translate(0,0.00216797)"><tspan
sodipodi:role="line"
id="tspan5609"
x="1010.7143"
y="225.93141" /></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="770"
y="359.45419"
id="text5615"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5617"
x="770"
y="359.45419">Bedingung setzen</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="769.28564"
y="430.46439"
id="text5619"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5621"
x="769.28564"
y="430.46439">Schleifenbefehle werden</tspan><tspan
sodipodi:role="line"
x="769.28564"
y="460.46439"
id="tspan5623">ausgeführt, solange Bedingung</tspan><tspan
sodipodi:role="line"
x="769.28564"
y="490.46439"
id="tspan5625">wahr und der Rückgabewert 0 ist.</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="774.28571"
y="572.72992"
id="text5627"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5629"
x="774.28571"
y="572.72992">Variable hochzählen,</tspan><tspan
sodipodi:role="line"
x="774.28571"
y="602.72992"
id="tspan5631">Bedingung wird neu geprüft.</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="765"
y="685.2193"
id="text5633"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5635"
x="765"
y="685.2193">Entweder neuer Schleifendurchlauf</tspan><tspan
sodipodi:role="line"
x="765"
y="715.2193"
id="tspan5637">oder Abbruch der Schleife.</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="726.13275"
y="254.505"
id="text5639"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5641"
x="726.13275"
y="254.505">1.</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="726.84698"
y="360.2193"
id="text5643"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5645"
x="726.84698"
y="360.2193">2.</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="724.28571"
y="430.9314"
id="text5647"
sodipodi:linespacing="125%"
transform="translate(0,0.00216797)"><tspan
sodipodi:role="line"
id="tspan5649"
x="724.28571"
y="430.9314">3.</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="726.55115"
y="575.2193"
id="text5651"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5653"
x="726.55115"
y="575.2193">4.</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="725"
y="686.64569"
id="text5655"
sodipodi:linespacing="125%"
transform="translate(0,0.00216797)"><tspan
sodipodi:role="line"
id="tspan5657"
x="725"
y="686.64569">5.</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:24, 24;stroke-dashoffset:0;marker-start:url(#Arrow1Mstart)"
d="m 487.96495,251.26845 218.57008,0.76673 z"
id="path5659"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:2.02932739;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:16.2346199, 16.2346199;stroke-dashoffset:0;marker-start:url(#Arrow1Mstart)"
d="m 607.25535,353.26761 91.5488,0.83761 z"
id="path5659-1"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:3.90180516;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker-start:url(#Arrow1Mstart)"
d="M 346.12525,485.47054 701.02597,422.66548 z"
id="path5659-9"
inkscape:connector-curvature="0"
inkscape:transform-center-x="-129.9163"
inkscape:transform-center-y="11.41826" />
<path
style="fill:none;stroke:#000000;stroke-width:2.67865252;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker-start:url(#Arrow1Mstart)"
d="M 513.68659,747.31827 697.72564,682.84603 z"
id="path5659-9-8"
inkscape:connector-curvature="0"
inkscape:transform-center-x="-68.222526"
inkscape:transform-center-y="6.1915737" />
<path
style="fill:none;stroke:#000000;stroke-width:3.3581059;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:26.86484704, 26.86484704;stroke-dashoffset:0;marker-start:url(#Arrow1Mstart)"
d="M 442.3258,627.17877 706.09665,570.42529 z"
id="path5659-13"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#ff0400;stroke-width:4.59700012;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Lstart-3);marker-mid:none;marker-end:none"
d="M 284.60198,770.17808 C -153.85486,493.71611 245.69265,353.43939 245.69265,353.43939"
id="path7857"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#008000;stroke-width:11.2459898;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0.69999999;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow1Sstart);marker-mid:none;marker-end:none"
d="m 225.75391,484.43542 c -377.09229,-186.89411 -0.0183,-137.74094 -0.0183,-137.74094"
id="path7857-5"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#0000ff;stroke-width:10.22231293;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0.69999999;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow1Sstart);marker-mid:none;marker-end:none"
d="M 503.95679,390.63029 C 891.77191,730.63837 431.79034,655.13433 431.79034,655.13433"
id="path7857-5-5"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:2.34162784;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)"
d="m 419.73801,442.70532 c 0,-41.90193 0,-41.90193 0,-41.90193"
id="path3230"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:2.34162784;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)"
d="m 418.70551,729.84989 c 0,-41.90193 0,-41.90193 0,-41.90193"
id="path3230-6"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 26 KiB

343
img/for.svg Normal file
View File

@ -0,0 +1,343 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="297mm"
id="svg3022"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="for.svg">
<defs
id="defs3">
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5689"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-1"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5689-7"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
</defs>
<sodipodi:namedview
inkscape:document-units="mm"
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="501.80144"
inkscape:cy="695.45113"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1846"
inkscape:window-height="1056"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1"
showguides="false"
inkscape:guide-bbox="true">
<sodipodi:guide
orientation="1,0"
position="407.09148,139.40105"
id="guide4011" />
</sodipodi:namedview>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="fill:#ececec;fill-opacity:1;stroke:#000000;stroke-width:3.20000005;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect3035"
width="258.59906"
height="46.467018"
x="259.60922"
y="46.250248"
rx="0"
ry="46.467018" />
<text
xml:space="preserve"
style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="347.49249"
y="76.554817"
id="text3037"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3039"
x="347.49249"
y="76.554817">for...loop</tspan></text>
<path
style="opacity:0.18662953;fill:#0000ff;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 585,69.505039 381.42857,348.07647 440,390.93361 642.14286,109.50504 z"
id="path3043"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:27.52588463px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="508.22031"
y="116.58118"
id="text3813"
sodipodi:linespacing="125%"
transform="scale(1.1469119,0.87190656)"><tspan
sodipodi:role="line"
id="tspan3815"
x="508.22031"
y="116.58118" /><tspan
sodipodi:role="line"
x="508.22031"
y="150.98853"
id="tspan3817">..</tspan></text>
<text
xml:space="preserve"
style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="534.28577"
y="154.50505"
id="text3819"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3821"
x="534.28577"
y="154.50505">string 7</tspan></text>
<text
xml:space="preserve"
style="font-size:32px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="231.91473"
y="505.40668"
id="text3823"
sodipodi:linespacing="125%"
transform="matrix(0.95302813,-0.30288181,0.30288181,0.95302813,0,0)"><tspan
sodipodi:role="line"
id="tspan3825"
x="231.91473"
y="505.40668">string 1</tspan></text>
<text
xml:space="preserve"
style="font-size:30px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="245.41881"
y="469.44067"
id="text3827"
sodipodi:linespacing="125%"
transform="matrix(0.94248135,-0.33425874,0.33425874,0.94248135,0,0)"><tspan
sodipodi:role="line"
id="tspan3829"
x="245.41881"
y="469.44067">string 2</tspan></text>
<text
xml:space="preserve"
style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="312.36246"
y="425.34647"
id="text3831"
sodipodi:linespacing="125%"
transform="matrix(0.9531052,-0.3026392,0.3026392,0.9531052,0,0)"
inkscape:transform-center-x="-19.285714"
inkscape:transform-center-y="-8.5714286"><tspan
sodipodi:role="line"
id="tspan3833"
x="312.36246"
y="425.34647">string 3</tspan></text>
<text
xml:space="preserve"
style="font-size:26px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="403.09683"
y="341.5267"
id="text3835"
sodipodi:linespacing="125%"
transform="matrix(0.9829109,-0.18408193,0.18408193,0.9829109,0,0)"><tspan
sodipodi:role="line"
id="tspan3837"
x="403.09683"
y="341.5267">string 4</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="487.85712"
y="212.36218"
id="text3839"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3841"
x="487.85712"
y="212.36218">string 5</tspan><tspan
sodipodi:role="line"
x="487.85712"
y="242.36218"
id="tspan3843" /></text>
<text
xml:space="preserve"
style="font-size:22px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="516.42853"
y="182.36218"
id="text3845"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3847"
x="516.42853"
y="182.36218">string 6</tspan></text>
<text
xml:space="preserve"
style="font-size:32px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#0000ff;fill-opacity:1;stroke:none;font-family:Sans"
x="567.14282"
y="115.21932"
id="text3851"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3853"
x="567.14282"
y="115.21932">liste</tspan></text>
<path
style="fill:#ffff00;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 165.71429,503.07647 236.42857,67.85714 240,-68.57143 L 405,434.50504 z"
id="path3859"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:3.54330707;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="M 472.14286,398.07647 425,429.50504 l -38.57143,66.42857 -0.71428,0"
id="path3857"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:3.54330707;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 355.71429,348.79076 9.28571,60 -37.85714,68.57142"
id="path3855"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:36px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="257.85715"
y="508.07648"
id="text3861"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3863"
x="257.85715"
y="508.07648">for var in liste</tspan></text>
<g
id="g3509"
transform="matrix(0.67405424,0,0,0.97685096,-152.32166,226.4891)">
<rect
ry="32.374073"
rx="24.516932"
y="414.50504"
x="684.64282"
height="226.42857"
width="278.57144"
id="rect5507"
style="fill:#ececec;fill-opacity:1;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<text
sodipodi:linespacing="125%"
id="text5509"
y="433.09491"
x="734.84375"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
xml:space="preserve"><tspan
y="433.09491"
x="734.84375"
id="tspan5511"
sodipodi:role="line" /><tspan
y="463.09491"
x="734.84375"
sodipodi:role="line"
id="tspan5551">do</tspan><tspan
id="tspan5515"
y="493.09491"
x="734.84375"
sodipodi:role="line" /><tspan
id="tspan5517"
y="523.09491"
x="734.84375"
sodipodi:role="line">command</tspan><tspan
id="tspan5519"
y="553.09491"
x="734.84375"
sodipodi:role="line">command</tspan><tspan
id="tspan3507"
y="583.09491"
x="734.84375"
sodipodi:role="line">...</tspan><tspan
id="tspan3224"
y="613.09491"
x="734.84375"
sodipodi:role="line">commandN</tspan><tspan
style="font-size:26px;font-weight:bold;fill:#ff0000;-inkscape-font-specification:Arial Bold"
id="tspan5523"
y="644.76605"
x="734.84375"
sodipodi:role="line"> </tspan></text>
</g>
<g
id="g5546"
transform="translate(-83.132612,118.08667)">
<rect
ry="32.374073"
rx="8.0883598"
y="813.79071"
x="395.71429"
height="45"
width="172.85715"
id="rect5540"
style="fill:#f9f9f9;fill-opacity:1;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<text
sodipodi:linespacing="125%"
id="text5542"
y="845.2193"
x="450.71426"
style="font-size:28px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
xml:space="preserve"><tspan
y="845.2193"
x="450.71426"
id="tspan5544"
sodipodi:role="line">done </tspan></text>
</g>
<path
style="fill:none;stroke:#000000;stroke-width:2.34162784;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)"
d="m 405.04867,910.72355 c 0,-41.90193 0,-41.90193 0,-41.90193"
id="path3230-6"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:2.34162784;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Mstart)"
d="m 404.03852,618.78946 c 0,-41.90193 0,-41.90193 0,-41.90193"
id="path3230-6-4"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

582
img/if_then_else.svg Normal file
View File

@ -0,0 +1,582 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2985"
version="1.1"
inkscape:version="0.48.2 r9819"
width="1024"
height="768"
sodipodi:docname="if...then_...else_..svg">
<metadata
id="metadata2991">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs2989" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1018"
id="namedview2987"
showgrid="true"
inkscape:zoom="1.3143972"
inkscape:cx="432.01862"
inkscape:cy="308.51228"
inkscape:window-x="-8"
inkscape:window-y="32"
inkscape:window-maximized="1"
inkscape:current-layer="svg2985">
<inkscape:grid
type="xygrid"
id="grid4140" />
</sodipodi:namedview>
<path
inkscape:connector-curvature="0"
id="path4086"
d="M 555.40555,177.01671 699.9585,139.73726 841.46823,177.01671 699.9585,212.77454 z"
style="opacity:1;fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<rect
style="opacity:0.49418603999999999;fill:#cccccc;fill-opacity:1;stroke:none;stroke-opacity:1"
id="rect2997"
width="344.91833"
height="42.262722"
x="35.900593"
y="22.721891" />
<rect
style="opacity:0.49418603999999999;fill:#cccccc;fill-opacity:1;stroke:none"
id="rect3767"
width="368.5491"
height="41.353848"
x="528.9657"
y="22.267456" />
<text
xml:space="preserve"
style="font-size:22px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="93.15976"
y="37.718342"
id="text3769"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3771"
x="93.15976"
y="37.718342" /></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
x="91.342003"
y="49.692024"
id="text3773"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3775"
x="91.342003"
y="49.692024">If ...then...fi statement</tspan></text>
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
x="585.81989"
y="40.670403"
id="text2988"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan2990"
x="585.81989"
y="40.670403" /></text>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 54.017156,162.39921 -1.52161,-0.76081"
id="path3004"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 54.017156,160.8776 -0.760805,-0.76081"
id="path3010"
inkscape:connector-curvature="0" />
<path
style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 51.419605,162.08408 195.97256,124.80463 337.48229,162.08408 195.97256,197.84191 z"
id="path3063"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
id="path3065"
d="m 573.64698,169.24646 144.55296,-37.27945 141.50973,37.27945 -141.50973,35.75783 z"
style="fill:#ffff00;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1;opacity:0" />
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
x="127.3155"
y="168.07822"
id="text3067"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3069"
x="127.3155"
y="168.07822">If...condition</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3071"
y="50.560875"
x="572.49457"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
xml:space="preserve"><tspan
y="50.560875"
x="572.49457"
id="tspan3073"
sodipodi:role="line">If...then...else...fi statement</tspan></text>
<path
style="fill:#00b400;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 86.40586,317.11464 -9.484015,21.39096 0.04342,-24.08116 2.302246,0.73862 20.993823,-109.55522 4.2989,1.18456 -20.993837,109.55523 z"
id="path2987"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 222.48786,593.42414 c -4.69776,22.14361 -4.59756,16.95797 -9.9596,44.57588 L 210,591.84202 l 3.50704,0.88116 29.66459,-387.4287 6.96631,1.3035 -29.82298,387.71917 z"
id="path2987-7"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 745.59531,639.16796 -16.34064,13.50152 9.82672,-19.64287 1.55495,1.56508 61.46478,-80.67347 2.98264,2.76352 -61.46478,80.67346 z"
id="path2987-4"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<rect
style="fill:#00c700;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none;opacity:0.8"
id="rect3879"
width="117.92477"
height="176.12636"
x="508.53287"
y="369.68033"
ry="17.118113"
rx="17.118113" />
<text
xml:space="preserve"
style="font-size:22px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="27.008577"
y="409.28043"
id="text3884"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3886"
x="27.008577"
y="409.28043" /></text>
<text
xml:space="preserve"
style="font-size:20px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="31.193005"
y="410.42166"
id="text3888"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3890"
x="31.193005"
y="410.42166" /></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
x="31.95381"
y="407.37842"
id="text3892"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3894"
x="31.95381"
y="407.37842" /></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="31.95381"
y="490.30618"
id="text3912"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3914"
x="31.95381"
y="490.30618">...</tspan></text>
<g
id="g3989">
<text
sodipodi:linespacing="125%"
id="text3900"
y="408.51962"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="408.51962"
x="28.910589"
id="tspan3902"
sodipodi:role="line">then</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3904"
y="445.79907"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="445.79907"
x="28.910589"
id="tspan3906"
sodipodi:role="line">command 1</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3908"
y="470.52524"
x="27.388981"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="470.52524"
x="27.388981"
id="tspan3910"
sodipodi:role="line">command 2</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3916"
y="511.2283"
x="28.149784"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="511.2283"
x="28.149784"
id="tspan3918"
sodipodi:role="line">commandN</tspan></text>
</g>
<rect
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none"
id="rect3920"
width="96.241837"
height="41.844276"
x="147.97658"
y="664.15015" />
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="189.82085"
y="692.29993"
id="text3922"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3924"
x="189.82085"
y="692.29993"
style="font-size:20px">fi</tspan></text>
<rect
style="opacity:0.01346801;fill:#00c700;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
id="rect3879-2"
width="117.92477"
height="176.12636"
x="772.07526"
y="378"
ry="17.118113"
rx="17.118113" />
<rect
y="663.38934"
x="661.51996"
height="41.844276"
width="96.241837"
id="rect3987"
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none" />
<g
id="g3999">
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.910589"
y="408.51962"
id="text4001"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4003"
x="28.910589"
y="408.51962">then</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.910589"
y="445.79907"
id="text4005"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4007"
x="28.910589"
y="445.79907">command 1</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="27.388981"
y="470.52524"
id="text4009"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4011"
x="27.388981"
y="470.52524">command 2</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.149784"
y="511.2283"
id="text4013"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4015"
x="28.149784"
y="511.2283">commandN</tspan></text>
</g>
<path
sodipodi:nodetypes="cccccccc"
inkscape:connector-curvature="0"
id="path4019"
d="m 689.56857,633.49462 10.48992,18.41926 -17.66008,-13.05865 1.80919,-1.2626 -68.90007,-74.42384 3.23532,-2.4629 68.90007,74.42384 z"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none" />
<path
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 689.56857,633.49462 10.48992,18.41926 -17.66008,-13.05865 1.80919,-1.2626 -68.90007,-74.42384 3.23532,-2.4629 68.90007,74.42384 z"
id="path4021"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<text
sodipodi:linespacing="125%"
id="text4023"
y="183.40247"
x="639.20227"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
xml:space="preserve"><tspan
y="183.40247"
x="639.20227"
id="tspan4025"
sodipodi:role="line">If...condition</tspan></text>
<g
id="g4027"
transform="translate(492.78087,5.3797038)">
<text
sodipodi:linespacing="125%"
id="text4029"
y="408.51962"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="408.51962"
x="28.910589"
id="tspan4031"
sodipodi:role="line">then</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4033"
y="445.79907"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="445.79907"
x="28.910589"
id="tspan4035"
sodipodi:role="line">command 1</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4037"
y="470.52524"
x="27.388981"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="470.52524"
x="27.388981"
id="tspan4039"
sodipodi:role="line">command 2</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4041"
y="511.2283"
x="28.149784"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="511.2283"
x="28.149784"
id="tspan4043"
sodipodi:role="line">commandN</tspan></text>
</g>
<rect
rx="17.118113"
ry="17.118113"
y="367.52847"
x="11.448236"
height="180.43013"
width="117.92477"
id="rect4088"
style="opacity:0.8;fill:#00c700;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none" />
<g
id="g4045">
<text
sodipodi:linespacing="125%"
id="text4047"
y="408.51962"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="408.51962"
x="28.910589"
id="tspan4049"
sodipodi:role="line">then</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4051"
y="445.79907"
x="28.910589"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="445.79907"
x="28.910589"
id="tspan4053"
sodipodi:role="line">command 1</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4055"
y="470.52524"
x="27.388981"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="470.52524"
x="27.388981"
id="tspan4057"
sodipodi:role="line">command 2</tspan></text>
<text
sodipodi:linespacing="125%"
id="text4059"
y="511.2283"
x="28.149784"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="511.2283"
x="28.149784"
id="tspan4061"
sodipodi:role="line">commandN</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="704.09625"
y="691.59174"
id="text3922-7"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3924-7"
x="704.09625"
y="691.59174"
style="font-size:20px">fi</tspan></text>
<path
sodipodi:nodetypes="cccccccc"
inkscape:connector-curvature="0"
id="path4127"
d="m 583.79028,329.80982 -14.71877,18.19004 6.30208,-23.24194 2.03108,1.31172 L 626.15684,225.73862 630,228 581.24781,328.33103 z"
style="fill:#00b400;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none" />
<rect
rx="17.118113"
ry="17.118113"
y="369.68033"
x="724.79694"
height="176.12636"
width="117.92477"
id="rect4129"
style="opacity:0;fill:#00c700;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none" />
<rect
rx="17.118113"
ry="17.118113"
y="368"
x="722.07526"
height="176.12636"
width="117.92477"
id="rect4146"
style="opacity:0;fill:#00c700;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none" />
<rect
rx="17.118113"
ry="17.118113"
y="358"
x="770"
height="176.12636"
width="117.92477"
id="rect4148"
style="fill:#ffd5d5;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none" />
<path
style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:0.99999994;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303;stroke-dasharray:none"
d="m 832.64216,326.63762 5.4713,22.75049 -14.60293,-19.14832 2.27708,-0.81288 -49.92122,-99.7545 L 780,228 l 49.92122,99.75452 z"
id="path4150"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccc" />
<path
sodipodi:nodetypes="cccccccc"
inkscape:connector-curvature="0"
id="path4160"
d="m 133.7132,624.45406 9.22493,13.78003 -14.20016,-9.13175 L 130,628 72.858893,573.9755 l 2.241654,-2.13195 57.141103,54.02451 z"
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:0.97692303000000003;stroke-dasharray:none" />
<g
id="g4063"
transform="translate(751.08941,-0.5196228)">
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.910589"
y="408.51962"
id="text4065"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4067"
x="28.910589"
y="408.51962">else</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.910589"
y="445.79907"
id="text4069"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4071"
x="28.910589"
y="445.79907">command 1</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="27.388981"
y="470.52524"
id="text4073"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4075"
x="27.388981"
y="470.52524">command 2</tspan></text>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="28.149784"
y="511.2283"
id="text4077"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4079"
x="28.149784"
y="511.2283">commandN</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 23 KiB

294
img/until.svg Normal file
View File

@ -0,0 +1,294 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="1280"
height="1024"
id="svg3092"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="until.svg">
<defs
id="defs3094">
<marker
inkscape:stockid="Arrow1Sstart"
orient="auto"
refY="0"
refX="0"
id="Arrow1Sstart"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5677"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(0.2,0,0,0.2,1.2,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Lstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Lstart-3"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5683-5"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="matrix(1.1,0,0,1.1,1.1,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Sstart"
orient="auto"
refY="0"
refX="0"
id="Arrow1Sstart-1"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path5677-7"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(0.2,0,0,0.2,1.2,0)" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="557.14202"
inkscape:cy="567.90994"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1846"
inkscape:window-height="1056"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1"
showguides="true"
inkscape:guide-bbox="true">
<sodipodi:guide
orientation="1,0"
position="641.42857,822.85714"
id="guide3620" />
</sodipodi:namedview>
<metadata
id="metadata3097">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-28.362183)">
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#008000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial Bold"
x="288.04337"
y="173.7321"
id="text5577"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
x="288.04337"
y="173.7321"
id="tspan3371">Solange Bedingung</tspan><tspan
sodipodi:role="line"
x="288.04337"
y="196.2321"
id="tspan5581">nicht erfüllt ist, liefert</tspan><tspan
sodipodi:role="line"
x="288.04337"
y="218.7321"
id="tspan3383">der Rückgabewert 1,</tspan><tspan
sodipodi:role="line"
x="288.04337"
y="241.2321"
id="tspan5583">Schleifenkommandos werden </tspan><tspan
sodipodi:role="line"
x="288.04337"
y="263.73212"
id="tspan5585">weiterhin ausgeführt.</tspan></text>
<g
id="g3218"
transform="matrix(1.2147577,0,0,1.2147577,-97.126906,-47.272014)">
<g
id="g3215">
<rect
style="fill:#f9f9f9;fill-opacity:1;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect5595"
width="256.42856"
height="42.857143"
x="491.42856"
y="103.78856"
transform="translate(0,0.00216797)"
rx="1.6597886"
ry="0.94550157" />
</g>
<text
sodipodi:linespacing="125%"
id="text5597"
y="134.08658"
x="542.14288"
style="font-size:28px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
xml:space="preserve"><tspan
y="134.08658"
x="542.14288"
id="tspan5599"
sodipodi:role="line">until... loop</tspan></text>
</g>
<text
xml:space="preserve"
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ff0000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
x="330.82861"
y="845.39014"
id="text5587"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5589"
x="330.82861"
y="845.39014">Bedingung erfüllt,</tspan><tspan
sodipodi:role="line"
x="330.82861"
y="867.89014"
id="tspan5591">Rückgabewert 0, </tspan><tspan
sodipodi:role="line"
x="330.82861"
y="890.39014"
id="tspan3442">Schleife wird </tspan><tspan
sodipodi:role="line"
x="330.82861"
y="912.89014"
id="tspan5593">beendet.</tspan></text>
<path
style="fill:#ffff00;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 458.21429,305.78571 182.5,-41.78571 180,41.42857 -181.07143,41.78571 z"
id="path3444"
inkscape:connector-curvature="0"
transform="translate(0,28.362183)" />
<text
xml:space="preserve"
style="font-size:24px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="558.57141"
y="312.57144"
id="text3446"
sodipodi:linespacing="125%"
transform="translate(0,28.362183)"><tspan
sodipodi:role="line"
id="tspan3448"
x="558.57141"
y="312.57144">until [condition]</tspan></text>
<g
id="g3509"
transform="matrix(0.67405424,0,0,0.97685096,88.198871,29.211426)">
<rect
ry="32.374073"
rx="24.516932"
y="414.50504"
x="684.64282"
height="226.42857"
width="278.57144"
id="rect5507"
style="fill:#ececec;fill-opacity:1;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<text
sodipodi:linespacing="125%"
id="text5509"
y="433.09491"
x="734.84375"
style="font-size:24px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
xml:space="preserve"><tspan
y="433.09491"
x="734.84375"
id="tspan5511"
sodipodi:role="line" /><tspan
y="463.09491"
x="734.84375"
sodipodi:role="line"
id="tspan5551">do</tspan><tspan
id="tspan5515"
y="493.09491"
x="734.84375"
sodipodi:role="line" /><tspan
id="tspan5517"
y="523.09491"
x="734.84375"
sodipodi:role="line">command</tspan><tspan
id="tspan5519"
y="553.09491"
x="734.84375"
sodipodi:role="line">command</tspan><tspan
id="tspan3507"
y="583.09491"
x="734.84375"
sodipodi:role="line">...</tspan><tspan
id="tspan3224"
y="613.09491"
x="734.84375"
sodipodi:role="line">commandN</tspan><tspan
style="font-size:26px;font-weight:bold;fill:#ff0000;-inkscape-font-specification:Arial Bold"
id="tspan5523"
y="644.76605"
x="734.84375"
sodipodi:role="line"> </tspan></text>
</g>
<path
style="fill:none;stroke:#008000;stroke-width:8.98333168;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0.69999999;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow1Sstart);marker-mid:none;marker-end:none"
d="M 530.60029,477.70601 C 218.88355,333.44044 530.58516,371.3823 530.58516,371.3823"
id="path7857-5"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#ff0400;stroke-width:4.779356;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow2Lstart-3);marker-mid:none;marker-end:none"
d="M 509.7072,749.22103 C 18.920141,503.65843 441.16971,336.19259 441.16971,336.19259"
id="path7857"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#0000ff;stroke-width:5.68769217;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0.69999999;stroke-opacity:1;stroke-dasharray:none;marker-start:url(#Arrow1Sstart);marker-mid:none;marker-end:none"
d="M 786.42836,372.42747 C 917.47391,524.91621 773.29139,657.43778 773.29139,657.43778"
id="path7857-5-5"
inkscape:connector-curvature="0" />
<g
id="g5546"
transform="translate(157.85713,-95.3571)">
<rect
ry="32.374073"
rx="8.0883598"
y="813.79071"
x="395.71429"
height="45"
width="172.85715"
id="rect5540"
style="fill:#f9f9f9;fill-opacity:1;stroke:#999999;stroke-width:3;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<text
sodipodi:linespacing="125%"
id="text5542"
y="845.2193"
x="450.71426"
style="font-size:28px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Arial;-inkscape-font-specification:Arial"
xml:space="preserve"><tspan
y="845.2193"
x="450.71426"
id="tspan5544"
sodipodi:role="line">done </tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -37,10 +37,16 @@
<ul> <ul>
<LI><a href="https://www.debian.org" target="_blank">Debian.org</a></LI> <LI><a href="https://www.debian.org" target="_blank">Debian.org</a></LI>
<li><a href="https://wiki.ubuntuusers.de" target="_blank">wiki.ubunutuusers.de</a></li> <li><a href="https://wiki.ubuntuusers.de" target="_blank">wiki.ubunutuusers.de</a></li>
<h3>bash</h3>
<li><a href="http://www.gnu.org/software/bash/manual/bashref.html" target="_blank">GNU Bash Reference manual</a></li>
<li><a href="https://ss64.com/bash/" target="_blank">Umfassende Bash Referenz mit Suche</a></li>
<li><a href="https://www.shellbefehle.de/befehle/" target="_blank">Shell Befehle</a></li> <li><a href="https://www.shellbefehle.de/befehle/" target="_blank">Shell Befehle</a></li>
<li><a href="https://wiki.archlinux.de/title/Bash-Prompt_anpassen" target="_blank">Bash Prompt anpassen </a></li> <li><a href="https://wiki.archlinux.de/title/Bash-Prompt_anpassen" target="_blank">Bash Prompt anpassen </a></li>
<h3>reguläre Ausdrücke</h3>
<li><a href="https://regexr.com/" target="_blank">RegExr.com - Reguläre Ausdrücke testen</a> <li><a href="https://regexr.com/" target="_blank">RegExr.com - Reguläre Ausdrücke testen</a>
<li><a href="http://rubular.com/" target="_blank">rubular.com - Reguläre Ausdrücke testen</a> <li><a href="http://rubular.com/" target="_blank">rubular.com - Reguläre Ausdrücke testen</a>
<h3>Bash scripting</h3>
<li><a href="http://www.gnu.org/software/bash/manual/html_node/Bash-Conditional-Expressions.html" target="_blank">Conditional Expressions für [ ] / test</a></li>
</ul> </ul>
</div> </div>
</div> </div>