Re: [fpc-pascal] about "reference-counted" variables

2013-03-14 Thread Sven Barth
Am 14.03.2013 10:14 schrieb "Marco van de Voort" : > Also widestrings are not refcounted on the pascal level, but "managed". But only on Windows platforms, because there WideString is based on Windows' COM compatible string. Regards, Sven ___ fpc-pascal

Re: [fpc-pascal] about "reference-counted" variables

2013-03-14 Thread Marco van de Voort
In our previous episode, Xiangrong Fang said: > > Also widestrings are not refcounted on the pascal level, but "managed". > > > What's the implication of the difference between refcounted vs. "managed"? There is a refcount system in the pascal RTL for internal types. Some types are externally mana

Re: [fpc-pascal] about "reference-counted" variables

2013-03-14 Thread Xiangrong Fang
> Also widestrings are not refcounted on the pascal level, but "managed". > > What's the implication of the difference between refcounted vs. "managed"? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listin

Re: [fpc-pascal] about "reference-counted" variables

2013-03-14 Thread Marco van de Voort
In our previous episode, Sven Barth said: > > Is there a "complete" list of reference counted variables in FP? e.g. > dynamic arrays are ref-counted. but are variables allocated by New() > ref-counted? > > Dynamic arrays > AnsiString > UnicodeString (and on non Windows also WideString) > COM styl

Re: [fpc-pascal] about "reference-counted" variables

2013-03-13 Thread Sven Barth
Am 14.03.2013 02:54 schrieb "Xiangrong Fang" : > > Is there a "complete" list of reference counted variables in FP? e.g. dynamic arrays are ref-counted. but are variables allocated by New() ref-counted? Dynamic arrays AnsiString UnicodeString (and on non Windows also WideString) COM style interfa