Re: Problems referencing variable value in another loop

2007-06-17 Thread Rob Dixon
[EMAIL PROTECTED] wrote: Hi, I was able to parse different data in the same loop...however, now I'd like to extract data from two files, using two while loops after opening each .txt file...then do arithmetic with the data I extracted...all in the same script. The problem is that when I reference

Re: Problems referencing variable value in another loop

2007-06-17 Thread Paul Lalli
On Jun 16, 4:08 pm, [EMAIL PROTECTED] wrote: > The problem is that when I > reference a variable in the second while loop that I initialized in > the first while loop, the script doesn't recognize it. To be more > clear, there is a number value for $SLPdataSFO[6] that I extracted in > the first

Problems referencing variable value in another loop

2007-06-17 Thread shadkeene
Hi, I was able to parse different data in the same loop...however, now I'd like to extract data from two files, using two while loops after opening each .txt file...then do arithmetic with the data I extracted...all in the same script. The problem is that when I reference a variable in the second w