Hello knight.of.ni,
tangent has identified the logic error in your code, and AnomalousMonk has outlined a better approach. I just want to point out that if you exit from the while loop you will never reach the close statements after the loop ends. Use last instead.
A few other points:
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: File extraction 2nd try
by Athanasius
in thread File extraction 2nd try
by knight.of.ni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |