Re: Problems concerning dir()
- Posted by Robert Craig <rds at RapidEuphoria.com> Jan 17, 2006
- 511 views
Greg Haberek wrote: > 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? Thanks for the offer. However I have to worry about things like backwards compatibility and cross-platform compatibility. I'd also have to hand-translate your Euphoria code into pure C, and integrate it with the rest of the interpreter and translator. I'd rather just tweak the code I've got now. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com