How to control to which if the else is correlated?
ex:
if X = 1 { // A
if Y > 1 { // B
gothere();
}
}
else if X < 1 { // C
gohere();
}
else { // D
gonowhere();
}
how to make sure C and D will not be related to B???
here´s another example:
if xxx {
...
FM_log(7,"vList.length = "+vList.length);
if (skippingAvancado)
if (vList.length > 1)
changeVillage();
else {
if (skipcounter >= maxSkipCount) {
FM_log(7,"ROTINA ANTIGA SKIPCOUNTER");
changeVillage();
}
}
else {