Subj : SWAG code file: bpxref.pas problem To : Jasen Betts From : Roelof Beverdam Date : Fri May 02 2003 09:10 am Hi Jasen, >DT> PROCEDURE ScanUnits(const SelPath: String); VAR Subdir: DirStr; > ^^^^^ > > I also read the help, try changeing that to pathstr, see if that helps. Won't do. The type mismatch is at the comma between the name and ext parameters, which means that the name parameter has a wrong type. Probably the type NameStr was redefined somewhere, hiding its definition in the DOS unit. Cheers, Roelof Beverdam --- Dutchie V3.10.11 * Origin: The Beaver's Nest (2:280/5218) .