msgstr "Folgen Sie dem spiralförmigen Weg. Der Roboter muss sich 2 mal um 25m nach vorn bewegen und sich anschließend drehen, dann 2 mal 20m vorwärts und drehen, usw."
msgid "You will have noticed that the way is made of \"L\"-shaped parts that are fit one into another. The first one (dark blue) measures two times 25 meters. The second one (light blue) measures 5 meters less. Let us start with writing the <a cbot|function>function</a> that will move the bot on a \"L\"-shaped part whose length will be given as a parameter:"
msgstr "Sie werden bemerkt haben, dass der Weg aus L-förmigen Teilen besteht, die ineinander passen. Das erste (dunkelblau) misst zwei mal 25 Meter. Das zweite (hellblau) misst 5 Meter weniger. Fangen wir damit an, die <a cbot|function>Funktion</a> zu schreiben, die den Roboter auf einem L-förmigen Teil entlang bewegt, dessen Länge als Parameter übergeben wird:"
msgid "Now you just need to write the main function, that will call the function <code>Part</code>. At the beginning the variable <code>rest</code> will be set to 25m. The <code>while</code> loop will then repeat the instructions inside the block as long as <code>rest</code> is greater than zero. Inside the loop, first call the function <code>Part</code> (see above), then subtract 5m to the length of the L."
msgstr "Nun müssen Sie nur noch die Hauptfunktion schreiben, welche einfach die Funktion <code>Part</code> aufruft. Zu Beginn setzen wir die Variable <code>rest</code> auf 25m. Die <code><a cbot|while>while</a></code>-Schleife wiederholt die Anweisungen innerhalb des Blockes, solange <code>rest</code> größer als Null ist. Innerhalb der Schleife wird zunächst die Funktion <code>Part</code> (siehe oben), aufgerufen und von <code>rest</code> werden 5m subtrahiert."
msgid "The function <code>Part</code> will be called a last time with the value <code>5</code>. Then the expression <code>rest-5</code> will set the value of the variable <code>rest</code> to zero, and the <code>while</code> loop will stop."
msgstr "Die Funktion <code>Part</code> wird zuletzt mit dem Wert <code>5</code> aufgerufen. Danach setzt der Ausdruck <code>rest-5</code> den Wert der Variablen <code>rest</code> auf Null, und die <code><a cbot|while>while</a></code>-Schleife wird beendet."
msgid "You will have noticed that in the previous exercise, the main function was at the beginning of the program, whereas in this exercise, it is at the end of the program, after the function <code>Part</code>. The rank order of the functions in the program does not matter, you can write a program either way."
msgstr "Sie werden bemerkt haben, dass in der vorhergehenden Übung die Hauptfunktion ganz am Anfang des Programmes stand, wogegen sie sich in diesem Beispiel am Ende befindet; hinter der Funktion <code>Part</code>. Die Reihenfolge der Funktionen im Programm ist gleichgültig. Sie können ein Programm anordnen, wie Sie wollen."