Remove misleading information in CBOT function documentation

coolant-mod
MrSimbax 2015-07-26 11:47:37 +02:00
parent e04e8b7f6a
commit 30a73cc772
6 changed files with 91 additions and 61 deletions

View File

@ -53,7 +53,7 @@ Now the program is much easier to read. It is a good practice to split the progr
\s; body
\s;}
\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
A function can have parameters:

View File

@ -5921,12 +5921,6 @@ msgid ""
"}"
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
#: ../E/function.txt:17
#, no-wrap
@ -5981,12 +5975,6 @@ msgstr ""
msgid "Syntax"
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
#: ../E/function.txt:58
#, no-wrap
@ -6152,6 +6140,24 @@ msgid ""
"}"
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."
#~ msgstr ""

View File

@ -6756,12 +6756,6 @@ msgid ""
"}"
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
#: ../E/function.txt:17
#, no-wrap
@ -6816,12 +6810,6 @@ msgstr ""
msgid "Syntax"
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
#: ../E/function.txt:58
#, no-wrap
@ -6987,6 +6975,24 @@ msgid ""
"}"
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."
#~ msgstr ""

View File

@ -6711,12 +6711,6 @@ msgid ""
"}"
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
#: ../E/function.txt:17
#, no-wrap
@ -6771,12 +6765,6 @@ msgstr ""
msgid "Syntax"
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
#: ../E/function.txt:58
#, no-wrap
@ -6942,6 +6930,24 @@ msgid ""
"}"
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."
#~ msgstr ""

View File

@ -6760,12 +6760,6 @@ msgid ""
"}"
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
#: ../E/function.txt:17
#, no-wrap
@ -6820,12 +6814,6 @@ msgstr ""
msgid "Syntax"
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
#: ../E/function.txt:58
#, no-wrap
@ -6991,6 +6979,24 @@ msgid ""
"}"
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."
#~ msgstr ""

View File

@ -6720,12 +6720,6 @@ msgid ""
"}"
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
#: ../E/function.txt:17
#, no-wrap
@ -6780,12 +6774,6 @@ msgstr ""
msgid "Syntax"
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
#: ../E/function.txt:58
#, no-wrap
@ -6951,6 +6939,24 @@ msgid ""
"}"
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."
#~ msgstr ""