\b;Instruction \c;flag\n;
Syntaxe:
\s;\c;flag ( color );\n;

Plants a \l;colored flag\u object\flag; in front of the \l;sniffer\u object\botsr;.

\t;color: \c;\l;int\u cbot\int;\n; (default value: \c;Blue\n;)
\c;Blue\n;
\c;Red\n;
\c;Green\n;
\c;Yellow\n;
\c;Violet\n;

\t;Type du retour: \c;\l;entier (int)\u cbot\int;\n;
Normally an error stops the program. You can prevent the program from stopping on errors by using the \c;\l;errmode\u cbot\errmode;(0)\n; instruction. A value different from zero if an error occurred is then returned by \c;flag();\n;.
\c;== 0 \n;planted a flag
\c;!= 0 \n;could not plant a flag

\t;Voir aussi
\l;Programmation\u cbot;, \l;types\u cbot\type; et \l;catégories\u cbot\category;.
