Ipquarx

Finding files in a folder (Torque)

Jan 11th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.16 KB | None | 0 0
  1. %a = -1;
  2. %file[%a++] = findFirstFile(%path @ "*." @ %extension);
  3. while (strlen(%file[%a]) > 0)
  4. {
  5.     %file[%a++] = FindNextFile(%path @ "*." @ %extension);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment