Is it possible to use a buttoncontrol to pause a for loop.
Ex: When it has counted to 50000, I press Pause and when I press Pause again, the loop continues.
Is it possible to achieve something like this ?
for ( int i = 0; i < 100000; i++ )
{
i = i + 1;
}