DefineProp

Hello,



I think version 6.5.2.0, that is the setup.exe version.



I have a object with a property in the public section and I am having several problem but will start with just one.



function GetCell(c,r:integer):string;

procedure SetCell(c,r:integer; value:string);



property Cells[c,r:integer]:string read GetCell write SetCell;



The TatPascalScripter does not see the property so I tried to add DefineProp to point at the object methods and it fails. The getter and setter want a TMachineProc.



Not sure how to proceed.



Thanks,



Mark





Hello,


here is an example in the documentation:

http://www.tmssoftware.biz/business/scripter/doc/web/registeringindexedproperties.html

Nevertheless, it's always recommended to use latest version, we had fixed issues and implemented small features regarding indexed properties in past releases.

Thanks, I went another route.