On Fri, Oct 15, 2021 at 3:10 PM Sven Barth via lazarus < lazarus@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. Juha
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus