msgid "Remote control a slave robot without using an <a object|exchange>information exchange post</a>. The robot should pass over the 6 blue crosses. You must use a <a cbot|string>string</a> to pass the orders to the slave bot. This string contains the order the slave shoud execute, for exemple <code>\"move(20)\"</code>. You can see that this is the same syntax as used in the CBOT language but we could have chosen any other syntax for exemple something like <code>\"advance=20\"</code>. The string will be a <code><a cbot|static>static</a></code> class member that will be used to communicate from the master to the slave."
msgstr "Steuern Sie einen Roboter fern, diesmal jedoch ohne Benutzung eines <a object|exchange>Infoservers</a>. Der Roboter soll die 6 blauen Kreuze passieren. Benutzen Sie einen <a cbot|string>String</a>, um Befehle zum Slave-Roboter zu übermitteln. Dieser String enthält den Befehl, den der Slave ausführen soll, zum Beispiel <code>\"move(20)\"</code>. Sie sehen, dass das die gleiche Syntax ist, die auch in der CBOT-Sprache Verwendung findet, aber wir hätten auch jede beliebige andere Syntax wählen können. Etwas wie <code>\"advance=20\"</code> wäre ebenfalls möglich. Der String wird als <code><a cbot|static>statische</a></code> Klassenvariable deklariert und so für die Kommunikation zwischen Master und Slave benutzt."
msgid "The <a object|botgr>wheeled grabber</a> without an energy pack and therefore immobile. This is the master you should program so it will transmit orders to the slave."
msgstr "Der <a object|botgr>Radtransporter</a>, der keine Batterie hat und dadurch unbeweglich ist. Dies ist der Master den Sie so programmieren sollen, dass er Befehle zum Slave sendet."
msgid "First of all we must understand how the program of the slave works. The <a cbot|class>class</a> <code>exchange</code> contains the mechanism for exchaning the orders. We declare a <code><a cbot|static>static</a></code> class member <code>m_order</code> which will contain the order to be executed. The word <code>static</code> insures that the member <code>m_order</code> is shared between all instances of the <a cbot|class>class</a> exchange."
msgstr "Zu allererst müssen wir klären, wie der Slave funktioniert. Die <a cbot|class>Klasse</a> <code>exchange</code> enthält Mechanismen zum Austausch von Befehlen. Wir deklarieren eine <code><a cbot|static>statische</a></code> Klassenvariable <code>m_order</code>, die den auszuführenden Befehl enthalten wird. Das Wort <code>static</code> stellt sicher, dass auf die Variable <code>m_order</code> von allen Instanzen der <a cbot|class>Klasse</a> <code>exchange</code> zugegriffen werden kann."
msgid "<n/>The <code>put</code> method will be used by the master robot for transmitting an order. As long as the string <code>m_order</code> is not empty, the slave has not finished the order and the <code>put</code> method will return <code>false</code> and will do nothing."
msgstr "<n/>Die Methode <code>put</code> wird vom Master dazu verwendet, um einen Befehl zu übermitteln. Solange der String <code>m_order</code> nicht leer ist, hat der Slave seinen Befehl noch nicht ausgeführt und die Methode <code>put</code> liefert <code><a cbot|false>false</a></code> zurück und tut sonst nichts."
msgid "Another method <code>get</code> will be used by the slave to retrieve the orders. This method returns the string contained in <code>m_order</code> and empties it, so a new order can be accepted:"
msgstr "Eine weitere Methode, <code>get</code>, wird vom Slave dazu verwendet, Befehle abzuholen. Die Methode liefert den <a cbot|string>String</a>, der in <code>m_order</code> enthalten ist, zurück und leert ihn. Daraufhin kann ein neuer Befehl entgegengenommen werden:"
msgid "The outer <code>while</code> loop lasts for ever. The inner <code>while</code> loop waits for an order by using the <code>get</code> method of the <code>exchange</code> class. As soon as <code>get</code> returns a non empty string, the while loop stops."
msgstr "Die äußere <code><a cbot|while>while</a></code>-Schleife wird nie verlassen. Die innere <code><a cbot|while>while</a></code>-Schleife wartet auf einen Befehl, wobei die Methode <code>get</code> der Klasse <code>exchange</code> verwendet wird. Sobald <code>get</code> einen nicht-leeren String zurückgibt, wird die Schleife verlassen."
"Die <code><a cbot|while>while</a></code>-Schleife wartet, bis ein schon gesendeter Befehl bearbeitet wurde, der Slave also die Methode <code>get</code> verlassen hat.\n"
"Das Hauptprogramm für den Master ist nun sehr einfach:"