a) you are opening params.txt file again and again in the for loop. You should move it out.
b) you are opening Two files (INPUT, and FILE) one after the other. So on which file the following IF statement operates?
if (/\s$x\s*\d*/){
In reply to Re: Using expressions in arrays for pattern matching
by podian
in thread Using expressions in arrays for pattern matching
by Mike_76
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |