115 lines
2.8 KiB
Plaintext
115 lines
2.8 KiB
Plaintext
# SOME DESCRIPTIVE TITLE
|
|
# Copyright (C) YEAR Free Software Foundation, Inc.
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: PACKAGE VERSION\n"
|
|
"POT-Creation-Date: 2013-11-11 09:37+0100\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"Language: \n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#. type: One-char language identifier
|
|
#: defi401.languagecode:1
|
|
#, no-wrap
|
|
msgid "E"
|
|
msgstr "R"
|
|
|
|
#. type: Title-text
|
|
#: defi401/scene.txt:1
|
|
#, no-wrap
|
|
msgid "defi401:Function"
|
|
msgstr "defi401:Функция"
|
|
|
|
#. type: Resume-text
|
|
#: defi401/scene.txt:2
|
|
#, no-wrap
|
|
msgid "defi401:Create a function to move a bot."
|
|
msgstr "defi401:Напишите функцию для движения бота."
|
|
|
|
#. type: ScriptName-text
|
|
#: defi401/scene.txt:3
|
|
#, no-wrap
|
|
msgid "defi401:Move"
|
|
msgstr "defi401:Движение"
|
|
|
|
#. type: \b; header
|
|
#: defi401-help/dproc1.txt:1
|
|
#, no-wrap
|
|
msgid "Exercice"
|
|
msgstr ""
|
|
|
|
#. type: \b; header
|
|
#: defi401-help/dproc1.txt:2
|
|
#, no-wrap
|
|
msgid "Exercise"
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
#: defi401-help/dproc1.txt:4
|
|
#, no-wrap
|
|
msgid "The <a object|bottr>bot</a> must pass over all the <a object|waypoint>blue crosses</a> on the ground. The way that must be covered is made of two squares. The first one measures 15 meters, the second 25 meters."
|
|
msgstr ""
|
|
|
|
#. type: Image filename
|
|
#: defi401-help/dproc1.txt:5
|
|
#, no-wrap
|
|
msgid "tproc1a"
|
|
msgstr ""
|
|
|
|
#. type: \b; header
|
|
#: defi401-help/dproc1.txt:6
|
|
#, no-wrap
|
|
msgid "General principle"
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
#: defi401-help/dproc1.txt:8
|
|
#, no-wrap
|
|
msgid "In order to solve this problem, the most efficient solution consists in creating a <a cbot|function>function</a> that instructs the bot to move on a square shape of a certain size. The main program becomes then very simple:<c/>"
|
|
msgstr ""
|
|
|
|
#. type: \s; block (usually verbatim code)
|
|
#: defi401-help/dproc1.txt:14
|
|
#, no-wrap
|
|
msgid ""
|
|
"\textern void object::Function3( )\n"
|
|
"\t{\n"
|
|
"\t\tSquare(15);\n"
|
|
"\t\tSquare(25);\n"
|
|
"\t}"
|
|
msgstr ""
|
|
|
|
#. type: \b; header
|
|
#: defi401-help/dproc1.txt:15
|
|
#, no-wrap
|
|
msgid "Useful instructions"
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
#: defi401-help/dproc1.txt:19
|
|
#, no-wrap
|
|
msgid ""
|
|
"<code><a cbot|for>for</a></code> loop to repeat some instructions\n"
|
|
"<code><a cbot|move>move</a></code> to move the bot\n"
|
|
"<code><a cbot|turn>turn</a></code> to turn the bot"
|
|
msgstr ""
|
|
|
|
#. type: \t; header
|
|
#: defi401-help/dproc1.txt:20
|
|
#, no-wrap
|
|
msgid "See also"
|
|
msgstr ""
|
|
|
|
#. type: Plain text
|
|
#: defi401-help/dproc1.txt:21
|
|
#, no-wrap
|
|
msgid "<a cbot>Programming</a>, <a cbot|type>types</a> and <a cbot|category>categories</a>."
|
|
msgstr ""
|