SDAC
Used to get the current statement start line number in a script.
TDAScript
property StartLine: Int64;
Use the StartLine property to get the current statement start line number in a script.