Date: Tue, 2 Jan 2001 11:37:49 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Tom St Denis cc: djgpp AT delorie DOT com Subject: Re: findfirst/findnext woes In-Reply-To: <92rc55$t7p$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 2 Jan 2001, Tom St Denis wrote: > Anyways... My code only finds the first file then findnext() returns > 1... ALWAYS! > > I don't want to flood the group, so if anyone has two mins to spare > email me at tomstdenis AT yahoo DOT com and I will send you the source to look > at. My advice would be to write the shortest program you can come up with which uses findfirst and findnext, and still exhibits the problem, and then post that code here as plain text. Experience shows that, while working on the short program, either (1) you will find the problem in your code; or (2) the resulting program will be simple enough for someone to spot the problem in no time.