if( foo )
{
// <- this block is only executed if 'foo' is true
}
else if( bar ) // <- 'bar' is only checked if 'foo' is false
// <- this block only executed if 'foo' is false and 'bar' is true
You are viewing a single comment's thread from:
if( foo )
{
// <- this block is only executed if 'foo' is true
}
else if( bar ) // <- 'bar' is only checked if 'foo' is false
// <- this block only executed if 'foo' is false and 'bar' is true
Sorry bot crashed !🤣