Adds all subdirectories matching the search pattern in the specified path to an ArrayList
and returns the number found.
Syntax: DirSearch (ArrayList, Path [,Search Pattern])
If the Search Pattern is omitted DirSearch will return all the subdirectories in the
directory.
Search Pattern can include '*' and '?'.
* - Finds zero or more characters.
? - Finds exactly one character.
Example: (alDir is an ArrayList control)
DirSearch (alDir, "\My Documents")
This example will add all the subdirectories in My Documents folder (in the device) to
the ArrayList alDir.