Send and the context

Mark Wieder mwieder at ahsoftware.net
Fri Feb 7 13:19:33 EST 2014


Mike Bonner <bonnmike at ...> writes:

> Curious now though, is there an easy way to get the owning card name of an
> object that is sent to without parsing or tree crawling?

What do you mean by "without parsing"?

put the long id of me into tLongname
put word -4 of tLongname into tCardname
if word -5 of tLongname is "id" then
  put "card id " before tCardname
end if

-- 
 Mark Wieder
 ahsoftware at gmail.com





More information about the use-livecode mailing list