[Lazarus] PascalScript and Self instance

silvioprog silvioprog at gmail.com
Mon Sep 16 19:42:19 CEST 2013


2013/9/16 Martin <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!

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130916/097568d3/attachment-0003.html>


More information about the Lazarus mailing list