First call of "MatchFileW" is always the current file.
Example of function calls:
Code: Select all
MatchGetSetOptions(0,0) -> 7;
MatchFileW("b.txt","t*");
MatchFileW("C:\example path\a.txt","t");
MatchFileW("C:\example path\b.txt","t");
MatchFileW("C:\example path\c.txt","t");
MatchFileW("C:\example path\b.txt","tx");
MatchFileW("C:\example path\a.txt","tx");
MatchFileW("C:\example path\b.txt","tx");
MatchFileW("C:\example path\c.txt","tx");
Code: Select all
MatchGetSetOptions(0,0) -> 7;
MatchFileW("C:\example path\b.txt","t");
MatchFileW("C:\example path\a.txt","t");
MatchFileW("C:\example path\b.txt","t");
MatchFileW("C:\example path\c.txt","t");
MatchFileW("C:\example path\b.txt","tx");
MatchFileW("C:\example path\a.txt","tx");
MatchFileW("C:\example path\b.txt","tx");
MatchFileW("C:\example path\c.txt","tx");