"if" not working

Hey everyone,

I find that my if statements do not work. The compiler says A-OK, but for example,

void loop(){

if (someVariable < 100 );{
DoSomething;
}
if (someVariable > 100);{
DoSomethingElse;
}

It would DoSomething AND DoSomethingElse at the same time. Any suggestions? Im pretty sure the conditions are written correctly, but it seems to be the if statement itself that is wrong.

Lose the ; before the {

Thx, so obious now that I try it. :slight_smile: