Re: Problems concerning dir()

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Thanks. I'll look into these examples for the next release.
> dir() is tricky, because each C compiler does it a bit differently,
> and because Watcom crashes in certain special cases that I have to avoid.

Why not use my win_dir() routine? It's written from scratch using the
Windows API, so it shouldn't have any "bugs" - and a directory must
end in a backslash for it to return files, otherwise it returns
information about the directory itself. And it a directory contains no
files, it returns an empty sequence, but an error (atom) if the
directory does not exist.

Perhaps, Rob, you could implement my win_dir() routine in the WIN32 Interpr=
eter?

~Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu