Case Study: Behaviors Failing - Can't set break points
bobs at twft.com
Tue Dec 27 18:32:41 EST 2011
Ok, got it. NOW I know everything! I was just missing that little bit. ;-)
On Dec 27, 2011, at 12:57 PM, Richard Gaskin wrote:
> Bob Sneidar wrote:
> > On Dec 27, 2011, at 12:28 PM, Todd Geist wrote:
> >> It starts as this
> >> button id 1004 of card id 1002 of stack "/Users/todd/Desktop/A.livecode"
> >> it changes to this
> >> button id 1004 of stack "A"
> > That is still the long ID.
> Sort of. A true long ID includes the file path, but behaviors use a special form of that descriptor format with the short name of the stack, for portability as Todd surmised.
> This sort of "truncated long ID" is useful in other areas as well, and FWIW I submitted a request to have a "truncated" keyword added to return that value for object references:
> It's not too hard to write a function to do this, but since apparently the engine already does this for behaviors it would be handy to have it accessible to us in scripts.
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode