From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: The for_each_file function, HELP!!! Date: Mon, 23 Mar 1998 19:30:15 +0200 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 15 Message-ID: <35169C27.2CF5@cam.org> References: <01bd56d1$a9163380$LocalHost AT stachowiak> NNTP-Posting-Host: dialup-547.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Helix wrote: You should basically read the docs. There's a gui function, file_select that does what you want. your code would be something like this: callback() { static int d; d+=15; textout(screen, font, "Does exits",10,20+d, 255); } for_each_file("*.o",0 , callback,0); -- --> http://www.cam.org/~tudor <--