Re: Question regarding while loops for reading files

2013-02-14 Thread Tiago Hori
Hi Jim, Thanks again. Very helpful as usual! T. On 2013-02-13, at 11:37 PM, Jim Gibson wrote: > > On Feb 13, 2013, at 6:47 PM, Tiago Hori wrote: > >> Hey Guys, >> >> I am still at the same place. I am writing these little pieces of code to >> try to learn the language better, so any advice

Re: Question regarding while loops for reading files

2013-02-14 Thread Tiago Hori
Hi John, Thanks. What I was trying to do there was to test if there was any numbers in the the first element of the first line. That was intended to get rid of the header line. I meant to use [0-9]* as character class to say "if there aren't any number of integers in the first element, next".

Re: Fwd: Question regarding while loops for reading files

2013-02-13 Thread John W. Krahn
Tiago Hori wrote: Hey Guys, Hello, I am still at the same place. I am writing these little pieces of code to try to learn the language better, so any advice would be useful. I am again parsing through tab delimited files and now trying to find fish from on id (in these case families AS5 and

Re: Question regarding while loops for reading files

2013-02-13 Thread Jim Gibson
On Feb 13, 2013, at 6:47 PM, Tiago Hori wrote: > Hey Guys, > > I am still at the same place. I am writing these little pieces of code to > try to learn the language better, so any advice would be useful. I am again > parsing through tab delimited files and now trying to find fish from on id > (i

Fwd: Question regarding while loops for reading files

2013-02-13 Thread Tiago Hori
Hey Guys, I am still at the same place. I am writing these little pieces of code to try to learn the language better, so any advice would be useful. I am again parsing through tab delimited files and now trying to find fish from on id (in these case families AS5 and AS9), retrieve the weights and