The CBOT language is very close in structure and syntax to C++ and Java. It has been adapted for the specific purposes of COLOBOT, and for an efficient pedagogical approach.
This language is made up of instructions (see below), \l;blocks\u cbot\bloc;, \l;variables\u cbot\var;, \l;expressions\u cbot\expr; and \l;conditions\u cbot\cond;.
o \c;\token;Instructions\norm;\n;
In the program editor, an instruction in the CBOT language is always displayed on an orange background. If an instruction hasn't got an orange background, this means that it has been misspelled. Instruction names are always written in lower case.
o \c;\type;Type\norm;\n;
The \l;type\u cbot\type; of a variable appears with a green background.
o \c;\const;Constants\norm;\n;
Constants like \l;categories\u cbot\category; are displayed with a red background.