IBDAC
Used to get the current statement last line number in a script.
TDAScript
property EndLine: Int64;
Use the EndLine property to get the current statement last line number in a script.