[fpc-pascal] (no subject)

Everton Vieira tonvieira at gmail.com
Fri Feb 24 13:32:34 CET 2012


Exactly that i was meant, thank you people.

2012/2/23 Michael Van Canneyt <michael at 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 at lists.freepascal.**org<fpc-pascal at lists.freepascal.org>
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
>



-- 
Everton Vieira.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120224/1d74e0e2/attachment.html>


More information about the fpc-pascal mailing list