Quick question on a piece of code.. - page 2

 
investguy:

Found my mistake... the logic is right but on the comparison in the if statement i used just "=" and not "=="...

 

if(FoundFirst=FL[0])

 

so the value changed.. thank you guys!! 

  This expression does not appear in any of the code that you have posted

If you did have it in your code, you should have had the warning "expression not boolean" when you compiled it. 

Reason: