By specifying only files of type png or jpg directories would be excluded any way. So this would produce the same result:- sFileArray = RDir(sPathThumbs, "*.{png,jpg}")
Any way, I must thank you because I'd been looking for a way to specify multiple file types and you've answered my question! Bill -- View this message in context: http://gambas.8142.n7.nabble.com/rdir-returns-unwanted-directories-tp59204p59207.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user