I came across a bug in my code today that was triggered because I dispatched a message to a custom control that returned some new ids in 'it' and error messages in 'the result'. It reminded me of this thread. I think the new proposed dispatch syntax, where the result contains the result of dispatch and the result of the called command is put into a targeted variable, makes much more sense. It would be nice to see that incorporated at some point.
'return x with y' would be very useful as well.
return result with it
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
Re: return result with it
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder