[Gambas-user] How do I fetch a list of files?

Rob sourceforge-raindog2 at ...94...
Tue Mar 1 18:37:01 CET 2005


On Tuesday 01 March 2005 01:25, Eldon Eller wrote:
> Yet another dumb question (YADQ): I am writing a gambas app
> where I want the user to select from a list of files (not via
> a dialog). So I need a way to fetch the file names from a
> specified directory. How do I do that?

You want to use Dir().  Note that it returns a String[] (string 
array) and not just one string as VB does.

http://www.binara.com/gambas-wiki/bin/view/Gambas/LangDir

Rob






More information about the User mailing list