[fpc-pascal] Adding file to string to the RTL

Ryan Joseph genericptr at gmail.com
Wed Oct 7 17:13:03 CEST 2020



> On Oct 7, 2020, at 2:19 AM, Michael Van Canneyt via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> I see Delphi has something similar, so I will add an implementation. But I need to study the options they provide so we can make a reasonably
> compatible version :)

Excellent thanks. It looks like Lazarus has FindAllFiles but it doesn't return a dynamic array (the important part so it can be dropped into for..in loops). Many scripting languages have a similar function (I can think of C#, PHP, Python and Javascript off the top of my head).

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list