Wintermute Engine > Can't reproduce
Possible bug in GetFiles
(1/1)
metamorphium:
Hi there,
I want to get all files in the directory "gfx" whose filenames start with "particles_"
However the following code returns all files in the folder gfx.
--- Code: ---var ar = Directory.GetFiles("gfx","particles_*.*");
--- End code ---
For now I've workaround it through IndexOf, but could be nice to see what's wrong.
Mnemonic:
I'm unable to reproduce this. What were the names of the other files in the directory?
metamorphium:
background.jpg
description.doc
Mnemonic:
Still can't repro this. If I create these files, the above code doesn't return them.
Navigation
[0] Message Index
Go to full version