Add link to extern in function documentation
parent
2b9e211be2
commit
fce8c8f0d9
|
@ -11,7 +11,7 @@ You probably already know how to create a function. Every program in CBOT must h
|
||||||
\s;
|
\s;
|
||||||
\s;}
|
\s;}
|
||||||
\n;
|
\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
|
\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:
|
With functions you can divide your program into several parts. Each of them will execute a specific task. For example, see the following program:
|
||||||
|
|
|
@ -6068,12 +6068,6 @@ 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
|
#. type: Plain text
|
||||||
#: ../E/function.txt:56
|
#: ../E/function.txt:56
|
||||||
#, no-wrap
|
#, 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>."
|
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 ""
|
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>."
|
#~ 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 ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6890,12 +6890,6 @@ 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
|
#. type: Plain text
|
||||||
#: ../E/function.txt:56
|
#: ../E/function.txt:56
|
||||||
#, no-wrap
|
#, 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>."
|
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 ""
|
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>."
|
#~ 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 ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6846,12 +6846,6 @@ 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
|
#. type: Plain text
|
||||||
#: ../E/function.txt:56
|
#: ../E/function.txt:56
|
||||||
#, no-wrap
|
#, 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>."
|
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 ""
|
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>."
|
#~ 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 ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6895,12 +6895,6 @@ 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
|
#. type: Plain text
|
||||||
#: ../E/function.txt:56
|
#: ../E/function.txt:56
|
||||||
#, no-wrap
|
#, 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>."
|
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 ""
|
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>."
|
#~ 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 ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -6855,12 +6855,6 @@ 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
|
#. type: Plain text
|
||||||
#: ../E/function.txt:56
|
#: ../E/function.txt:56
|
||||||
#, no-wrap
|
#, 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>."
|
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 ""
|
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>."
|
#~ 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 ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue