WarmFluffyUK
The Big Wad Bolf.
Does anyone know if there's a way to determin the difference between files and folders with the GLOB function, or is there a better way to return the contents of a folder?
I have tried this:
CODE
say(chdir("c:\"));
While( (filename = Glob("*")) != "" )
say(filename);
End;
Repeat
Frame;
Until(key(_ESC))
But that does not appear to distinguish between files and folders returned .
I have tried this:
CODE
say(chdir("c:\"));
While( (filename = Glob("*")) != "" )
say(filename);
End;
Repeat
Frame;
Until(key(_ESC))
But that does not appear to distinguish between files and folders returned .