CurrentLine
Returns the number of current script line, useful for debug.
Pascal
function CurrentLine : Integer;
Python this method is not applicable to Python.
Example Pascal
if something_wrong_happens then
AddToSystemJournal('Problem in line ' + CurrentLine.ToString);