rem: if (T = AddTask (color_cycle, 0))
add: T = CreateThread (color_cycle, NULL, 0, "color cycle"); if (T)
context: CycleColorMap (COLORMAPPTR ColorMapPtr, COUNT Cycles, SIZE TimeInterval){	if (ColorMapPtr && Cycles && ColorMapPtr[0] <= ColorMapPtr[1])	{		TASK	T;		while (TaskControl.CMapPtr)		{			TaskSwitch ();		}		TaskControl.CMapPtr = ColorMapPtr;		TaskControl.tc.NumCycles = Cycles;		if ((TaskControl.Ticks = TimeInterval) <= 0)			TaskControl.Ticks = 1;		if (T = AddTask (color_cycle, 0))		{			_batch_flags |= ENABLE_CYCLE;			do			TaskSwitch ();			while (TaskControl.CMapPtr);		}		TaskControl.CMapPtr = 0;		return ((CYCLE_REF)T);	}	return (0);}