[fpc-devel] generics

Michael Schnell mschnell at lumino.de
Thu Dec 21 11:06:16 CET 2006


> Michael Schnell schreef:
>> No. Generics are more like using a macro when defining a type.
>>
>> So a ":=" copies the memory and not a pointer and they are passed by 
>> value into a procedure.
>>
>>
>
> I think you cut too much context. To which question does this give an 
> answer?
(Don't you see the link to the message I answered to in the message tree 
with your Newsgroup viewer ?)

The question was:
 > Aren't those automatically dynamic?
So the answer is no, as they are not pointers (like instances of Classes).

-Michael




More information about the fpc-devel mailing list