Get a reference for the current line executing
Mark Wieder
mwieder at ahsoftware.net
Mon Dec 19 20:42:16 EST 2011
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
mwieder at ahsoftware.net
More information about the use-livecode
mailing list