Hi all I'm just trying to convert a Delphi program (non-visual) into GPC. I thought it would be much harder, but actually it's very easy. I have one problem though: In Delphi they use AssignFile instead of Assign. I have defined a unit rtlib, where all Delphi-specific procedures are defined. I first defined AssignFile as procedure assignFile(var f : TextFile; fileName : string ); begin assign(f,filename); end; { assignFile } However now I also need to define it with typed files. Is there a way to have more than one definition? Best regards Preben Bohn PS. Yes, I could just replace AssignFile with Assign... :-) ===== The two rules for success are: 1. Never tell them everything you know. ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie