On Wed, Oct 28, 2009 at 10:16:48AM +0100, Mattias Gaertner wrote:
> > all. Mapping this to different types dependend on compiler switches
> > or whatever is a can of worms. I would prefer that one of the clear
> > genuine string types is used directly. Lots of code is dependend on
> > the string type.
> 
> That's why you can set the mode for each unit or via a switch for
> each package/project.

That could as well be to not break old code, not to signify they both still
have a place.

And I think shortstring should generally be discouraged. The standard is
always "255 is enough", but sooner or later somebody hits it:

http://bugs.freepascal.org/view.php?id=15010


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to