Dir() problem....
- Posted by Patrick Quist <quistnet at HOTMAIL.COM> Jan 01, 1999
- 482 views
Hy, (Happy new year.) I have a problem with dir() (from file.e) . If I want the index of files for example : dir("*.exe") It returns a sequence when there are files. It returns -1 when there is no file with .exe . So if I check for -1 at the return it works when I have no files with .exe. But if there is a file with .exe . It gives an error message for the line I check for -1. Can someone help me ?? Bye, PQ QC (quistnet at yahoo.com) ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com