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

Marco van de Voort marcov at stack.nl
Thu Mar 14 10:35:50 CET 2013


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 managed, and the Pascal runtime merely inserts certain calls for
those types, and doesn't know the implementation details exactly itself.



More information about the fpc-pascal mailing list