Author Topic: Pausing a loop.  (Read 857 times)

Is there a way to pause a loop until something has happend then it continues again.



There's no way to pause a loop, but you can let the loop continue and do something like this to prevent it from performing the normal actions:

Code: [Select]
$loop = 1;
$looppause = 0;

for(%i = $loop;%i == 1;%i = $loop)
{
     if(!$looppause)
     {
          //perform actions here
     }
}