Exactly that i was meant, thank you people.

2012/2/23 Michael Van Canneyt <mich...@freepascal.org>

>
>
> 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<fpc-pascal@lists.freepascal.org>
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
>



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

Reply via email to