Remove misleading information in CBOT function documentation
parent
e04e8b7f6a
commit
30a73cc772
|
@ -53,7 +53,7 @@ Now the program is much easier to read. It is a good practice to split the progr
|
||||||
\s; body
|
\s; body
|
||||||
\s;}
|
\s;}
|
||||||
\n;
|
\n;
|
||||||
A function must be declared above the main function. Result \l;type\u cbot\type; should be \l;void\u cbot/void; if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to \l;variables\u cbot\var;.
|
Result \l;type\u cbot\type; should be \l;void\u cbot/void; if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to \l;variables\u cbot\var;.
|
||||||
|
|
||||||
\t;Parameters
|
\t;Parameters
|
||||||
A function can have parameters:
|
A function can have parameters:
|
||||||
|
|
|
@ -5921,12 +5921,6 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:14
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:17
|
#: ../E/function.txt:17
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -5981,12 +5975,6 @@ msgstr ""
|
||||||
msgid "Syntax"
|
msgid "Syntax"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:56
|
|
||||||
#, no-wrap
|
|
||||||
msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/function.txt:58
|
#: ../E/function.txt:58
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6152,6 +6140,24 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:14
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:56
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6756,12 +6756,6 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:14
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:17
|
#: ../E/function.txt:17
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6816,12 +6810,6 @@ msgstr ""
|
||||||
msgid "Syntax"
|
msgid "Syntax"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:56
|
|
||||||
#, no-wrap
|
|
||||||
msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/function.txt:58
|
#: ../E/function.txt:58
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6987,6 +6975,24 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:14
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:56
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6711,12 +6711,6 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:14
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:17
|
#: ../E/function.txt:17
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6771,12 +6765,6 @@ msgstr ""
|
||||||
msgid "Syntax"
|
msgid "Syntax"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:56
|
|
||||||
#, no-wrap
|
|
||||||
msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/function.txt:58
|
#: ../E/function.txt:58
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6942,6 +6930,24 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:14
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:56
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6760,12 +6760,6 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:14
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:17
|
#: ../E/function.txt:17
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6820,12 +6814,6 @@ msgstr ""
|
||||||
msgid "Syntax"
|
msgid "Syntax"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:56
|
|
||||||
#, no-wrap
|
|
||||||
msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/function.txt:58
|
#: ../E/function.txt:58
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6991,6 +6979,24 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:14
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:56
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6720,12 +6720,6 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:14
|
|
||||||
#, no-wrap
|
|
||||||
msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: Plain text
|
#. type: Plain text
|
||||||
#: ../E/function.txt:17
|
#: ../E/function.txt:17
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6780,12 +6774,6 @@ msgstr ""
|
||||||
msgid "Syntax"
|
msgid "Syntax"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. type: Plain text
|
|
||||||
#: ../E/function.txt:56
|
|
||||||
#, no-wrap
|
|
||||||
msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. type: \t; header
|
#. type: \t; header
|
||||||
#: ../E/function.txt:58
|
#: ../E/function.txt:58
|
||||||
#, no-wrap
|
#, no-wrap
|
||||||
|
@ -6951,6 +6939,24 @@ msgid ""
|
||||||
"}"
|
"}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:14
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. type: Plain text
|
||||||
|
#: ../E/function.txt:56
|
||||||
|
#, no-wrap
|
||||||
|
msgid "Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Nothing but a name can be changed in a main function. The keyword <code>extern</code> distinguish the main function from others."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "A function must be declared above the main function. Result <a cbot|type>type</a> should be <a cbot/void>void</a> if the function does not give any. Body is just a set of instructions. Function name must be created with the exact same rules applied to <a cbot|var>variables</a>."
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
#~ msgid "Now the program is much easier to read. It's a good practice to split the program into several functions with self-describing names."
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue