> On Apr 15, 2016, at 3:46 PM, Tony Whyman <tony.why...@mccallumwhyman.com> 
> wrote:
> 
> You could describe it as typecast done in the var clause of a method. The 
> right hand identifier is not restricted to function parameters.

I’m not understanding how this would work. I’ve read that the keyword (I’ve 
never heard about until now) makes a variable share memory so it’s like an 
alias I guess.

So, a common scenario is a member variable being declared as TObject then 
having to typecast it every time I need to access one of it’s methods. 
Declaring another variable in each function instead of typecasting is perhaps 
more work but maybe I’m not getting it.

Thanks.

Regards,
        Ryan Joseph

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

Reply via email to