[Lazarus] PascalScript and Self instance

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


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!

--
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/bd083000/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.zip
Type: application/zip
Size: 2572 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130916/bd083000/attachment-0002.zip>


More information about the Lazarus mailing list