Champak Posted February 26, 2008 Share Posted February 26, 2008 (edited) Not using an error function, but would like to know which line in the code is being written. Is it possible for consolewrite to also output the line code...how? I got about 30 pages back in searching. Ex: consolewrite("whatever" & @codeline) EDIT: Found it -- @ScriptLineNumber Edited February 26, 2008 by Champak Link to comment Share on other sites More sharing options...
GaryFrost Posted February 26, 2008 Share Posted February 26, 2008 Not using an error function, but would like to know which line in the code is being written. Is it possible for consolewrite to also output the line code...how? I got about 30 pages back in searching.Ex: consolewrite("whatever" & @codeline)@ScriptLineNumberLine number currently being executed. Useful for debug statements specially when a function is call you can pass the caller line number. (Not significant in compiled script) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now