<div dir="ltr">2013/9/16 Martin <span dir="ltr"><<a href="mailto:lazarus@mfriebe.de" target="_blank">lazarus@mfriebe.de</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">On 16/09/2013 18:03, silvioprog wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello,<br>
<br>
I'm trying to set an instance to after to call a method (called as WriteLn) of it, but the result is:<br>
<br>
[Error] (1:7): Unknown identifier 'WriteLn'<br>
<br>
In attached the small project showing my implementation.<br>
<br>
So, how to I set an instance to be used as default in my scripts?<br>
<br>
Thank you!<br>
<br>
</blockquote>
<br></div>
Maybe later more.<br><br>
Have you looked at the editormacroscript package?<br>
<br>
IT does exactly that</blockquote></div><div><br></div><div>Hm... I saw all units of editormacroscript, but I still don't understand how the Lazarus team pass the SELF instance as default. :(</div><div><br></div><div>
Thank you anyway!</div><div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>