[fpc-pascal] Re: Passing objects to libraries and back

waldo kitty wkitty42 at windstream.net
Sun Feb 27 02:48:58 CET 2011


On 2/26/2011 02:12, leledumbo wrote:
>> is it allowed ?
>
> Yes, but watch out that is/as operator might not work as expected.
>
>> can i pass ansistrings ?
>
> Yes, but only if you know what you're doing. NEVER modify the passed strings
> (it would confuse the reference counting). Use const parameter all the time.

this seems to be something that i'm learning about... it appears to be a 
bit(???) different than what i am used to with TP/BP 6/7...

in this case, does a const parameter point to the original or a copy of the 
original?



More information about the fpc-pascal mailing list