[fpc-pascal] NewStr error in RTL documentation

Peter Vreman peter at freepascal.org
Mon Sep 4 17:41:41 CEST 2006


At 14:41 4-9-2006, you wrote:
>I found that the documentation of the rtl (objects unit) contains a 
>small error in the Synopsis of
>the NewStr function.
>
>It says:
>   "Synopsis: Allocate a copy of a SHORTSTRING on the heap."
>
>I think you should replace the word SHORTSTRING by STRING.

No, shortstring is correct. It doesn't work for example with ansistring


Peter




More information about the fpc-pascal mailing list