You want the result to be '3 4 5 6 7' and the actual result is '4 4 4 4 4 ...'. So there's two things wrong, the first is that you start at '$ipa + 1' rather than at '$ipa'. What's the second thing that's wrong?
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In reply to Re^3: Adding Numbers
by TomDLux
in thread Adding Numbers
by NastyPenguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |