From: RLMuller@... (Richard) Date: 2003-06-05T23:19:22+09:00 Subject: Re: ios.gets doesn't seem to work as advertised Hi Daz, Thanks not only to the succint solution to my problem: > File.open('test.dat') do |fi| > while rec = fi.gets > puts "Record: " << rec > end > end but for your explanation of the flaw in my approach. Regards, Richard