[fpc-pascal]ReAlloc Question

James Mills prologic at prologitech.com
Fri May 16 15:01:42 CEST 2003


On Fri, May 16, 2003 at 03:05:30PM +0200, Michael Van Canneyt wrote:
> 
> > > I'll show you... Catch, datanicks.pas and nickclass.pas ...
> > > This is why I need to understand and fix this, it's not just a simple
> > > TStringList that I want to use :)
> >
> > Forgot to attach em :(
> 
> It should work with this class too.

Okay, thanks.

btw ... Is this how you write classess properly ? (destroy destructor as
you said ...)

type
   TTokenizer = class(TObject)
      constructor init(tmpStr: String);
      constructor init(tmpStr: String; tmpDelim: Char);
      destructor destroy; override;

.
.
.

destructor TTokenizer.destroy;
begin
   inherited destroy;
end;

> 
> Michael.
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list