Add link to extern in function documentation

coolant-mod
MrSimbax 2015-07-27 13:48:00 +02:00
parent 2b9e211be2
commit fce8c8f0d9
6 changed files with 46 additions and 31 deletions

View File

@ -11,7 +11,7 @@ You probably already know how to create a function. Every program in CBOT must h
\s;
\s;}
\n;
Nothing but a name can be changed in the main function. The keyword \c;extern\n; distinguish the main function from others.
Nothing but a name can be changed in the main function. The keyword \c;\l;extern\u cbot\extern;\n; distinguish the main function from others.
\b;Basic use
With functions you can divide your program into several parts. Each of them will execute a specific task. For example, see the following program:

View File

@ -6068,12 +6068,6 @@ 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
@ -6740,6 +6734,15 @@ msgstr ""
msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar to <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
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><a cbot|extern>extern</a></code> distinguish the main function from others."
msgstr ""
#~ msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
#~ msgstr ""
#~ msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
#~ msgstr ""

View File

@ -6890,12 +6890,6 @@ 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
@ -7562,6 +7556,15 @@ msgstr ""
msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar to <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
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><a cbot|extern>extern</a></code> distinguish the main function from others."
msgstr ""
#~ msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
#~ msgstr ""
#~ msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
#~ msgstr ""

View File

@ -6846,12 +6846,6 @@ 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
@ -7518,6 +7512,15 @@ msgstr ""
msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar to <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
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><a cbot|extern>extern</a></code> distinguish the main function from others."
msgstr ""
#~ msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
#~ msgstr ""
#~ msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
#~ msgstr ""

View File

@ -6895,12 +6895,6 @@ 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
@ -7567,6 +7561,15 @@ msgstr ""
msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar to <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
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><a cbot|extern>extern</a></code> distinguish the main function from others."
msgstr ""
#~ msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
#~ msgstr ""
#~ msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
#~ msgstr ""

View File

@ -6855,12 +6855,6 @@ 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
@ -7527,6 +7521,15 @@ msgstr ""
msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar to <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
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><a cbot|extern>extern</a></code> distinguish the main function from others."
msgstr ""
#~ msgid "Nothing but a name can be changed in the main function. The keyword <code>extern</code> distinguish the main function from others."
#~ msgstr ""
#~ msgid "Determines the position of the nearest free space with at least <code>flatmin</code> of flat ground around a given position. Works similar <c/><a cbot|space>space();</a><n/>. Useful for finding a place for a <a cbot|category>building</a>."
#~ msgstr ""