LATEST UPDATES
ShareHolder Finder v0.9.3 is now released!!! Check Product Page for more details.
✉ info@automationdevelopers.com

ITS ALL ABOUT AUTOMATION

Sunday, 14 August 2016

AutoIt - Get Script Line Number Being Executed


Author Post Date Sunday, 14 August 2016
Macro Name: @ScriptLineNumber

Returns the Line number being executed - useful for debug statements (e.g. location of function call). Significant in uncompiled scripts only. #include files return their internal line numbering.

Example:

#include <MsgBoxConstants.au3>

;Display script line number
MsgBox($MB_SYSTEMMODAL, "Script Line Number", @ScriptLineNumber)

Related Posts




Interesting? Share and Let Others Know.

Post a Comment