Skip to main content

LastErrorLine

LastErrorLine (Function)​

Format​

lasterrorline
lasterrorline ( )

returns integer_expression

Description​

Returns the line number in the program where the last trapped runtime error happened. For an error inside a Subroutine or Function, it is the line inside it.

Example​

See examples of usage on OnError and LastError pages.

See Also​

Error Codes, Lasterror, Lasterrorextra, Lasterrorline, Lasterrormessage, Offerror, Onerror, ThrowError, Try / Catch / EndTry

History​

0.9.6zNew To Version