www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/23/19:47:44

From: Vic <tudor AT cam DOT org>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 <--

- Raw text -


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