[fpc-pascal] Layout of class method

Michael Van Canneyt michael at freepascal.org
Wed Mar 12 23:01:15 CET 2008



On Wed, 12 Mar 2008, Felipe Monteiro de Carvalho wrote:

> On Wed, Mar 12, 2008 at 3:43 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> >  In theory, declaring a class method as static should do that (as
> >  mentioned before either here or on fpc-devel), but it doesn't at this
> >  time. Feel free to file a bug.
> 
> What is the syntax of a class method on FPC?
> 
> I did a search and the syntax on delphi seams to be this:
> 
> class procedure SetClassProperty(Value: Integer); static;

No. 
You must not specify the static. Where did you get that from ?

Michael.



More information about the fpc-pascal mailing list