This is a feature request regarding TMS Scripter. Can the GetRowColFromInst()
procedure be made public ?
To be able to retrieve the current source row/col executing, like so:
procedure Example;
var srow, scol: integer;
begin
with PascalScripter.CurrentScript do
begin
GetRowColFromInst(VirtualMachine.CurrentInstruction, srow, scol);
end;
end;
Currently we have modified atScript.pas
atScript.pas
{ Trip Software B.V. - made GetRowColFromInst() public }
public
procedure GetRowColFromInst(Inst: pSimplifiedCode; var row, col: integer);
private
{ Trip Software B.V. - end }