Error Problem!

Help! Our robotc program has this error. It says

Error:Undefined variable ‘bStopTasksBetweenModes’. ‘short’ assumed.

Now when we download it, it wont move. Help, Please!!!

bStopTasksBetweenModes is defined in the file Vex_Competition_Includes.c which is part of the competition template, any chance you have deleted that line of code from the beginning of your competition code? A competition template file should start as follows (in V4.52)

//Competition Control and Duration Settings
#pragma competitionControl(Competition)
#pragma autonomousDuration(20)
#pragma userControlDuration(120)

#include "Vex_Competition_Includes.c"   //Main competition background not modify!

//                          Pre-Autonomous Functions
// You may want to perform some actions before the competition starts. Do them in the
// following function.