From: Tait Pollard Date: 2006-06-05T23:33:31+09:00 Subject: Re: Directory.entries problems with while loops unknown wrote: > On Jun 5, 2006, at 8:57 AM, Tait Pollard wrote: > Show us some code and then we can help. > > cr here is the code c=File.dirname("directory.rb") direc=Dir.entries(c) b= Regexp.new(/tlb/) counter,counter1=0,0 array=[] while(counter