It may be that dispatch works the same as send concerning the context, and the dictionary simply doesn't say so. I presumed that because the distinction was present for send and absent for dispatch that there was a real difference. I might be mistaken. Call explicitly says that the context remains the same, that is that the defaultStack does not change.
Bob On Feb 1, 2012, at 5:50 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > >> From the dictionary: >> >> When the send command is used the stack containing the target handler >> temporarily becomes the defaultStack. All object references in the message >> are evaluated in the current context i. e. the defaultStack. Therefore >> references within the message that refer to "this card" or "this stack" will >> be referring to the card or stack where the target handler is located. > > Thanks. > > If others here can reproduce this apparent bug from the second test in this > post I'll log it in the RQCC: > > <http://lists.runrev.com/pipermail/use-livecode/2012-February/167508.html> > > > -- > 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 > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
