[lazarus] CVS Committed 01/12/2001

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jan 14 03:28:29 EST 2001



On Sat, 13 Jan 2001 21:43:56 Shane Miller wrote:
> But it's compiled with
> {$H+}
> 
> Doesn't that cause it to use all ansistrings?

Even ShortStrings must be initialized with nil, because strings are
pointers.
In objects this is done in InitInstance with
 fillchar(instance^,self.instancesize,0);
For GetMem we must do it by ourselves.

Mattias







More information about the Lazarus mailing list