Confirmed here. Although unlikely to happen, that's a bad bug. The presence of "the" and "of <objectreference>" should make it clear that a custom property is being referenced, not a variable.
Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Tue, Jan 20, 2015 at 11:17 AM, Mike Kerner <mikeker...@roadrunner.com> wrote: > ugh. That's an ugly. I'd file a feature request to have the > parser/compiler catch those for you. I am a big proponent of loose syntax, > but if it's going to be loose enough that you can do THAT, then you either > should get an error for misusing the token or it should be smart enough to > not fail. > > On Tue, Jan 20, 2015 at 1:13 PM, Ralph DiMola <rdim...@evergreeninfo.net> > wrote: > > > I just spent an 1.5 hours of "what the heck just happened". My fault but > > just wanted to let others know. > > > > I have a custom stack prop named "pRegion". This worked as expected > except > > in one handler. It always returned empty. From either the handler or from > > the message box while the handler was being debugged or from an answer > > dialog. Click the stop button in the debugger, then from the message box > > the > > custom property is the value the inspector says. Breakpoint on the first > > line of the mouseup handler and it's gone. Deleted all the code in the > > handler and it's back even though I examined it before any code was run > > from > > the debugger both times. > > Problem: I had a local of the same name by mistake. I was not even using > > it. > > I just deleted it and all was OK. This might be obvious to the more > > seasoned > > LiveCoder but to a beginner... not so much > > > > Just an FYI > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdim...@evergreeninfo.net > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode