2013/9/16 Martin <[email protected]>
> What do you mean "passing the self const as default"?
>
I'm trying it:
TMyClass = class
private
FData: string;
public
procedure WriteLn(const S: string);
...
var
obj: TMyClass;
ps.SetVarToInstance('SELF', obj);
So when I call "WriteLn", it must call WriteLn of my "obj" instance.
Please see the full code in attached in previous e-mail.
--
Silvio Clécio
My public projects - github.com/silvioprog
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus