[Lazarus] PascalScript and Self instance
Martin
lazarus at mfriebe.de
Mon Sep 16 19:54:36 CEST 2013
On 16/09/2013 18:42, silvioprog wrote:
> 2013/9/16 Martin <lazarus at mfriebe.de <mailto:lazarus at mfriebe.de>>
>
> On 16/09/2013 18:03, silvioprog wrote:
>
> Hello,
>
> I'm trying to set an instance to after to call a method
> (called as WriteLn) of it, but the result is:
>
> [Error] (1:7): Unknown identifier 'WriteLn'
>
> In attached the small project showing my implementation.
>
> So, how to I set an instance to be used as default in my scripts?
>
> Thank you!
>
>
> Maybe later more.
>
> Have you looked at the editormacroscript package?
>
> IT does exactly that
>
>
> Hm... I saw all units of editormacroscript, but I still don't
> understand how the Lazarus team pass the SELF instance as default. :(
>
> Thank you anyway!
>
What do you mean "passing the self const as default"?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130916/831c888e/attachment-0003.html>
More information about the Lazarus
mailing list