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

Rob sourceforge-raindog2 at ...94...
Wed Mar 2 17:39:27 CET 2005


On Tuesday 01 March 2005 20:59, Eldon Eller wrote:
>  Tnx to all. With a little fooling around I got things working
> as advertised. YADQ: how can I find answers to dumb questions
> without pestering the gambas users? Once finding the magic
> word "Dir", it was simple to find its usage explained in the
> documentation. But I could have spent forever looking for the

Well, there are a couple ways to navigate Gambas help (or the 
wiki.)  I'll give some examples using the help browser.

You think to yourself, "How do I get a list of files in a 
directory?"  You press F1 to bring up help.

Right on that front page you should see "Language Index by 
Category".  If you click that link, it'll take you to a list of 
every built-in keyword and function in Gambas, arranged by 
category.  You click on "File Management" under "Keywords".... 
and find nothing.  So you click on "File Management" under 
"Functions", and among the list of functions is "Dir".  I don't 
know about you, but if I were looking for a way to get a list of 
files, I would see "Dir" and think "That's what I want."

But suppose you don't notice the index by category.  Then there's 
the "Search" tab.  You type in either "directory" or "files", 
and "Dir" is in the first few search results.

I agree that we need a more flexible help searching system, and I 
may take a stab at that eventually. But even as things are now, 
I really don't think it's that hard to find what you need to 
know if you condense your search down to the single most 
relevant word.

By the way, could you switch your mail program to only send plain 
text to the list?  It's kind of hard to read and quote HTML.  
Thanks.

Rob






More information about the User mailing list