[Lazarus] Where to place definition of a record?

Andreas Berger Andreas at TheBergerClan.org
Tue Jan 27 00:49:02 CET 2009


But unfortunately an object is not totally record compatible. It can not 
do this:

foo = object
  a : integer
  case boolean of
    true:{...};
    fasle: {...}
  end;
  procedure b;
end;

Martin Friebe wrote:
> try
>
> type
>   foo = Object
>      a : integer;
>      Procedure b;
>   end;
>
>
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> ------------------------------------------------------------------------
>
>
> Nenhum virus encontrado nessa mensagem recebida.
> Verificado por AVG - http://www.avgbrasil.com.br 
> Versao: 8.0.176 / Banco de dados de virus: 270.10.13/1914 - Data de Lancamento: 1/24/2009 8:40 PM
>
>   



More information about the Lazarus mailing list