I have created a loop, inside there is an if statment but it doesnt seem to execute more than once, but the same loop instead with a WHILE statment works but i really need to be an if statement.
function lines ()
{
for( SS = 0; SS < 11; SS++)
{
while(freq1.text == slotCheck+SS && freq4.text == slotCheck+SS )
{
freq2.text = "Win";
break;
}
The above works but i need the below one to execute 11 times.
function lines ()
{
for( SS = 0; SS < 11; SS++)
{
if(freq1.text == slotCheck+SS && freq4.text == slotCheck+SS )
{
freq2.text = "Win";
break;
}
The Problem was my Pc, when i had restarted my machine everything was fine again. the loops and the code are correct anyways so my fustration was a hardware issue, (RAM) got plenty of it but its faulty as im experiencing missing files at random related to ram
sorry to have confused you guys