Am 13.10.2015 19:21 schrieb <wkitt...@windstream.net>:
>>
>> If somebody really has to do this wouldn't "also" be a better choice to
avoid
>> (getting close to overloading "as"? :-/
>
>
> it might... i don't know anything about "as" because i've never used
it... what does it do?

It's an operator for casting classes and interfaces in a safe way (which
means that an exception is raised if the cast fails).

See here:
http://www.freepascal.org/docs-html/ref/refsu47.html#x141-15100012.8.7

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to