[fpc-devel] CmdLine

Daniël Mantione daniel.mantione at freepascal.org
Sat Oct 21 15:11:51 CEST 2006



Op Thu, 19 Oct 2006, schreef Yury Sidorov:

> I already implemented optimization of CmdLine for smartlinking for WinCE =
some
> time ago. It is controlled by HAS_CMDLINE define. And CmdLine is declared=
 as
> function in WinCE system unit.
> =

> CmdLine as property will be great, but I found that property getter/setter
> need to be declared before property declaration in the interface part. Th=
is
> will garbage a global namespace with private getters/setters.
> =

> Is it possible to make compiler to accept getters/setters not declared in=
 the
> interface part, but implemented in the implementation?

I think it is not so easy, because the actual implementation (variable, =

function), affects code that uses the property. The implementation part of =

the unit does not necessarily have already been compiled when the unit is =

used.

Dani=EBl


More information about the fpc-devel mailing list