Um, the way I have works just fine, I'm just wondering if it's any better or worse than using the proper loops.
Edit:
Oh I see what you mean..... it's calling the function a million times... and... ohhhhhh stack.. stacking overflow... I get it ;) So therefore this way is BBAAADDDDDD!
Edit2:
OH, that's why you have that last variable, I see that both the variables would be the same if this were a proper loop but once the function is called again, it skips that last variable.
...no idea what Entradas and Salidas mean, or even what language that's in... but I understand what you were trying to show.
Edit:
Oh I see what you mean..... it's calling the function a million times... and... ohhhhhh stack.. stacking overflow... I get it ;) So therefore this way is BBAAADDDDDD!
Edit2:
OH, that's why you have that last variable, I see that both the variables would be the same if this were a proper loop but once the function is called again, it skips that last variable.
...no idea what Entradas and Salidas mean, or even what language that's in... but I understand what you were trying to show.