Maybe I'm misunderstanding what you're looking for, but does this help? S := 'Name is %s %s'; Result := Format(S, ['Conor', 'Boyd']);
HTH, Conor -----Original Message----- From: Neven MacEwan [mailto:[EMAIL PROTECTED] I want to use the format function and pass it a dynamic array of values, Can this be done S := 'Name is %s %s'; Result := format(S,A) but how do I declare A? --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/