Error 26

else without if

The "else" statement declares the alternative to the "if" statement. It comes after the "if", e.g.

This does not work:

else

{
d = 1;
}

if ( a < b )

{
d = 0;
};

This is the correct order:

if ( a < b )

{
d =
0;
}

else

{
d =
1;
};

Xpressionist 3