ODAC
Used to get the offset in the last line of the current statement.
TDAScript
property EndOffset: Int64;
Use the EndOffset property to get the offset in the last line of the current statement.