Source: io/match_names.pro
MATCH_NAMES Matches a specified name to list of avaliable names, with due priorities for compressed, incomplete and QEDR files. Usage: real_name = match_names(wanted, list) Return value: real_name string The actual filename found (including directory) Arguments: wanted string input The standard filename wanted. list string input The list of know filenames. Method: The search is made in the order: Normal files, Incomplete files, QEDR derived files, Incomplete QEDR derived files. .Z and .gz files are recognized and decompression is ordered. History: Original: 21/10/94; SJT Fix case problem in VMS: 2/11/94; SJT Fix possible problem when dir is in name list: 11/7/95; SJT Decompression now removed since HSIO now supports dynamic decompression: 4/12/97; SJT Make it take a list of files to pick from: 21/12/99; SJT Remove VMS support: 15/4/03; SJT Use strmatch rather than strpos to allow wildcards: 25/1/05; SJT