@JukeboxJim said:
Say which... what?
if (what == 0) {
// Code Block A
}
else if (what == 2) {
// Code Block B
}
else if ((what == 1) || (what == 3) || (what == 5)) {
if (what == 1) which = 0;
if (what == 3) which = 1;
if (what == 5) which = 1;
}
// Code Block C omitted for sanity/brevity
if (what == 5) FooBar(position, 3);
else doWibble(position, what);
}
Am I the only one who noticed the extra '}' in the code (bolded)? (Perhaps that is a typo on the poster's part, but judging by the rest of the code...)
My first post, and I noticed the "Tags" box is fail; I can't type my own tag using the keyboard. (I had to type the start of my tag then right-click->Cut to remove the extra text.) Am I supposed to be allowed to?