
Re: RobotC task alive function
I did not yet meet the problem (new in RobotC) and found no explicit task status variable, but it can be solved "manually."
Define a global bool variable for each task you have to keep track and initialize them to false. The variable shall be set to true in very first statement of the task it belongs thus it will be executed when the task is initiated by StartTask(). The variable shall be reset to false at every occasion where StopAllTasks() or StopTask() are invoked.
Now these bool variables will follow the
dead or alive status of the tasks.