NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
Statements

The body of a code block (task or function) is composed of statements.

Statements are terminated with a semi-colon (';'), as you have seen in the example code above.