Re Topic'd. Probable LC bug getting return from a Value function
scott at tactilemedia.com
Mon Feb 22 20:20:37 EST 2016
It looks like you're missing the parentheses in the function name. Try:
put value("getValue()",group "myGroup" of card "myCard") into tVal
Tactile Media, UX/UI Design
On 2/22/16, 5:08 PM, "use-livecode on behalf of William Prothero"
<use-livecode-bounces at lists.runrev.com on behalf of
prothero at earthednet.org> wrote:
>Sorry for the duplicate posting. But, the topic on my prev one was not
>descriptive and I need this to work.
>I think I¹ve found a bug when trying to call a function and get a return
>value out of the message path.
>I make a stack with a group containing 2 buttons, and a 3rd button to
>call the function>
>Script of calling button
> put value("getValue",group "myGroup" of card "myCard") into tVal
>Script of group named ³myGroup²
> return "This is my value"
>When I click the calling button, I get ³getValue² returned. The actual
>return value of the function is not returned.
>I¹ve tested this in 7.1.2-r3 and 8.0.0 DP15.
>I¹m using Mac OSX, El Capitan.
>Is it a bug?
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
More information about the Use-livecode