[fpc-pascal] Problem with GLOB()

Marco van de Voort marcov at stack.nl
Tue Oct 3 21:49:16 CEST 2006


> I just wrote a little program in FPC 2.0.2 which uses GLOB() to search and
> display a directory. I use 'oldlinux' in the uses statement.

[...]

> finally installed the full (and same!) fpc version there and re-compiled the
> source, but the result is the same.
> 
> Any idea about what is wrong here?

Uhh, making NEW code based on OLDlinux :-)

Glob is dead, and with a reason. It used to be faster, but that kind of
functionality has been added to the normal findfirst/findnext routines a
while ago. (e.g. the FreeBSD port already has it pre 1.0, and the Linux
port since 2.0 afaik)




More information about the fpc-pascal mailing list