Finding the calling code/object/script?

Peter Haworth pete at lcsql.com
Thu Aug 22 17:26:18 EDT 2013


Check out the executionContexts - it will give you a trace back of the
calling hierarchy.

Pete
lcSQL Software <http://www.lcsql.com>


On Thu, Aug 22, 2013 at 12:44 PM, Dr. Hawkins <dochawk at gmail.com> wrote:

> Is there a way to work back up a message to see where a command originated?
>
> I am trying to trap a message that used to be valid in my code, that
> isn't.  Earlier versions allowed this message to go straight to a
> field.
>
> So a "send someCommand to fld abc" is no longer valid; it must now
> come in the context of "someCommand arguments" in the code.
>
> Is there a way inside of the handler of someCommand to find out whow
> it was invoked?
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list