On Tue, 11 May 2010 09:15:46 +0200
Graeme Geldenhuys <graemeg.li...@gmail.com> wrote:

> In that case the FPC documentation is wrong. Then could you correct the ref
> documentation please - Section 3.2.5. As quoted below, the docs say
> WideString is reference counted.
> 
> 
> ----------[ FPC 2.4 language reference doc ]-----------------
> 3.2.5   WideStrings
> Widestrings (used to represent unicode character strings) are implemented
> in much the same way as ansistrings: reference counted, null-terminated
> arrays, only they are implemented as arrays of WideChars instead of regular
> Chars.
> --------------------------------------------------------------

Sorry for highjacking the thread: I take the opportunity to ask about string 
size. Is it maintained in the data structure, or computed when required? (I 
mean: is there a notable cost for length()?)

Denis
________________________________

vit esse estrany ☣

spir.wikidot.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to