output the script line of a logging message

Bob Sneidar bobsneidar at iotecdigital.com
Mon Mar 13 14:26:42 EDT 2017


Look at the executionContexts in the dictionary. That should get you going on some ideas. 

Bob S


> On Mar 13, 2017, at 11:12 , Matt Maier via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I'm adding some logging function calls to a script. Is there a way to
> include the line number of the current line in the script?
> 
> Some of the messages are pretty similar, if not identical, so it would be
> helpful when reviewing the logs to identify the message by the line number
> the function was on when it logged the message.





More information about the use-livecode mailing list