On Sat, January 7, 2017 2:52 pm, Bart wrote:
> On 1/7/17, Andrew Hall <andrew.h...@shaw.ca> wrote:
>
>
>> If you cast your “something” to a typed pointer, the compiler will
>> do the work for you in the usual way:
>>
>
> But if you know that at forehand (and you know, since you cast it),
> why then use an untyped var parameter at all?
>

Some brave soldiers once tried to reinvent generics using these tricks..


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to