[Lazarus] array[0..n] of class of TSomething

leledumbo leledumbo_cool at yahoo.co.id
Tue Jul 12 18:38:29 CEST 2011


Seems like codetools parser bug. Try writing it type by type:

type
  Tp2pMessageClass = class of Tp2pMessage;
  Tp2pMessageClassArray = array [0 .. 1] of Tp2pMessageClass;
const
  MsgTypes: Tp2pMessageClassArray = (
    ...
  );


--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-array-0-n-of-class-of-TSomething-tp3162813p3163033.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.




More information about the Lazarus mailing list