On Thu, 23 Feb 2012, Everton Vieira wrote:

Is there any plans to implement public procedures/function of a class that can 
be used without been necessary to create the class?


This exists: class functions.

Given the declaration

 TMYClass = Class
   Class function doGLobal (Arg : ArgType) : Resulttype;
 end;


Then

  TMyClass.doGlobal(a)

Is Valid.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to