NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
The stop statement

You can stop a task with the stop statement.

The stop statement is only supported if you are running the enhanced NBC/NXC firmware on your NXT.

stop task_name;