Value of function from a group NOT in the message path

Dar Scott dsc at swcp.com
Wed Jun 16 11:50:20 EDT 2004


On Jun 15, 2004, at 11:20 PM, Troy Rollins wrote:

> I understand the getProp approach... and admit to not having 
> considered it, but for the purpose of enlightenment, what is the send 
> syntax when a return value is desired?

Untested:

-- button a
on mouseUp
    send "getDatum" to button b
    put the result
end mouseUp

-- button b
on getDatum
   return 5
end getDatum

This does not work "in time".  In that case the result is the message 
id.

Dar Scott



More information about the use-livecode mailing list