\b;Instruction \c;flag\n;
Syntax:
\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;Return value: \c;\l;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;See also
\l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.
