Answers for "for loop ahk"

PHP
0

infinite loop php

//this infinte loop never stops until the if condition became true 
while(1){
			if(/*condition to exit from while*/);break;}
			ob_flush();	
			flush();
			sleep(2);
        	}
Posted by: Guest on January-02-2021
0

loop ahk

; Creates a loop with 3 iterations.
Loop, 3
{
    MsgBox, Iteration number is %A_Index%.  ; A_Index will be 1, 2, then 3
    Sleep, 100
}

remember to not add more than 100 loops as that may freeze computer
Posted by: Guest on October-11-2021

Browse Popular Code Answers by Language