Hugo, what I meant was something like this
var ar: array[0..5] of pointer; I have not tried this, having stopped using records at the point I made the jump to custom objects, so I am just guessing. There are also dynamic arrays, but TObjectList makes a lot more sense for the techniques I use, so I’ve forgotten whatever I might have known about them. Cruising Delphi Help, I noticed TPointerList, which sounds promising, but have never used it. > Jeremy, Could you please give an example on how to declare a parameter using Pointer or TPointerList? Thanks for your reply. Hugo eof Hugo, have you tried Pointer or TPointerList? Jeremy From: advanced_delphi@ yahoogroups. com [mailto:advanced_ [EMAIL PROTECTED] ps.com] On Behalf Of Hugo Massieri Sent: Thursday, August 28, 2008 5:14 AM To: advanced_delphi@ yahoogroups. com Subject: [advanced_delphi] Array of TAnyType as parameter Hi, All! I would like to pass any array of record type as a procedure parameter. I have tryed to use: const parameter : array of const var parameter : array of variant, but the caller procedure return a type cast error. Your help will be very appreciated. Thanks in advance. Hugo. eof ________________________________ Novos endereços, o Yahoo! que você conhece. Crie um email novo <http://br.rd.yahoo.com/mail/taglines/mail/*http:/br..new.mail.yahoo.com/addresses> com a sua cara @ymail.com ou @rocketmail. com. ________________________________ Novos endereços, o Yahoo! que você conhece. Crie um email novo <http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.new.mail.yahoo.com/addresses> com a sua cara @ymail.com ou @rocketmail.com.