[fpc-pascal] class property accessor static
    Mattias Gaertner 
    nc-gaertnma at netcologne.de
       
    Tue Feb  7 12:10:13 CET 2017
    
    
  
Hi,
The getter/setter of a class-property must be "static" (Delphi
compatible).
If I understand "static" correctly, then "static" simply omits passing
the class as parameter. So a static class procedure is just a dumber
version of a normal class procedure.
What is the advantage of using "static" for class property accessors?
Aka: Why did Delphi choose static here?
Mattias
    
    
More information about the fpc-pascal
mailing list