Dir() problem....

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu