[Lazarus] GetAllFilesMask / AllFilesMask
Bart
bartjunk64 at gmail.com
Sun Apr 28 14:23:33 CEST 2013
On 4/28/13, Jürgen Hestermann <juergen.hestermann at gmx.de> wrote:
> The problem with all this is, that Microsoft is not consistent to itself.
:-)
> The only solution I see is to be consistent within Free Pascal and use an
> internal routine to define a (logical and pratical) syntax of file masks.
> This way it is also possible to have the same mask for different OS's
> because all Free Pascal programmers can rely on the same routine to find
> matches.
But you must consider the end user.
If on Windows someone types *.* in my program, he expects to find all
files, but on Linux, the user will expect to find only files that have
a dot in it's name somewhere.
Bart
More information about the Lazarus
mailing list