Mike-

Monday, December 19, 2011, 3:33:32 PM, you wrote:

> Is it possible to get a script identifier and the line number of
> the currently executing statement?

>   throw  (the_Current_Script && "-" && the current_Line_Number)

As Mark noted, the executionContexts will give you a stack trace. Also
note that param(0) will give you the name of the current handler.

-- 
-Mark Wieder
 [email protected]


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to