delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/02/04:45:16

Date: Tue, 2 Jan 2001 11:37:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tom St Denis <stdenis AT compmore DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: findfirst/findnext woes
In-Reply-To: <92rc55$t7p$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.1010102113516.18307I-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019