SPC  Version 0.9.5
 All Files Functions Groups Pages
ex_StopAllTasks.spc

This is an example of how to use the StopAllTasks function.

task main()
{
while(true)
{
if (CurrentTick() > 50000)
StopAllTasks(); // stop the program
}
}