From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA05234; Thu, 20 Mar 2003 23:36:03 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA04052 for ; Thu, 20 Mar 2003 23:36:02 +0100 (MET) Received: from hotmail.com (f30.sea2.hotmail.com [207.68.165.30]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h2KMa1X17528 for ; Thu, 20 Mar 2003 23:36:01 +0100 (MET) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 20 Mar 2003 14:36:00 -0800 Received: from 81.56.2.149 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 20 Mar 2003 22:35:59 GMT X-Originating-IP: [81.56.2.149] X-Originating-Email: [halnaf@hotmail.com] From: "deerf hal" To: caml-list@inria.fr Subject: [Caml-list] files or directories Date: Thu, 20 Mar 2003 22:35:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 20 Mar 2003 22:36:00.0137 (UTC) FILETIME=[14CF6F90:01C2EF31] X-Spam: no; 0.00; labltk:01 listbox:01 opendir:01 trouvez:99 l'ame:99 soeur:99 forbid:03 suffix:03 type:07 function:09 hotmail:90 xml:10 couldn't:13 1000:86 hello:15 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk hello, I made a browser in labltk, I display files and directories in a listbox, but i want to separate directories and files, to forbid to make "opendir" to a file. I try with function in Filename but I could choose one type of files like ".xml" with test on suffix, but i couldn't have the entire list of files. thank. _________________________________________________________________ Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners