[Gambas-bugtracker] Bug #1780: Add Glob() function to dir("~/../*c") or file.glob("~/../*c")

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Apr 22 20:44:34 CEST 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1780&from=L21haW4-

Brian G reported a new bug.

Summary
-------

Add Glob() function to dir("~/../*c") or file.glob("~/../*c")

Type             : Request
Priority         : Medium
Gambas version   : Master
Product          : Development Environment


Description
-----------

Would it be possible to add support for the c library glob() function with the tilde extension to file or some derivative of
dir which returns a correct expansion for files similar to that provided by Shell expansion.

Would help with correctly expanding paths and  simplify the effort somewhat. 

Right now Dir does a good job for most cases.

It could return a string[] with all the files.

I am not sure what this means to the code. Or how complicated! 

But it would be a very nice addition.


System information
------------------

master




More information about the Bugtracker mailing list