Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

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);