2011/3/16 Graeme Geldenhuys <[email protected]>: [...] > TFoo = object > Value: string; > function AsBoolean: Boolean; > end; > > And yes, FPC supports the Object structure. ;)
But this way would not be possible to use something like this: TFoo = record... var VFoo: TFoo; begin VFoo[0].Value := 'A'; VFoo[1].Value := 'B'; ... :/ > Regards, > - Graeme - -- Silvio Clécio ================================================= Blog - silvioprog.com.br Twitter - twitter.com/silvioprog LazSolutions - code.google.com/p/lazsolutions Lazarus-BR - http://groups.google.com.br/group/lazarus-br?hl=pt-BR ================================================= -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
