[Lazarus] TMask revisited

Juha Manninen juha.manninen62 at gmail.com
Fri Oct 15 19:17:35 CEST 2021

On Fri, Oct 15, 2021 at 3:10 PM Sven Barth via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> Non-static class methods *do* have a Self parameter, but it's the class
> type and not the class instance. They can also be virtual, which is a
> really great feature of the Object Pascal language (I often miss that at
> work where I use C++). They are also assignment compatible to method
> variables ("of object").
> Static methods on the other hand don't have a Self parameter, can't be
> virtual and are assignment compatible to normal procedure variables.

Ok, right.
I confess I never used "static" with class procedures/functions. Thanks for
the info.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20211015/97df0b7a/attachment.html>

More information about the lazarus mailing list