Can't call functions from messagebox in 6.5.1
dunbarx at aol.com
dunbarx at aol.com
Sat Dec 21 18:24:59 EST 2013
This is AWFUL, and I will tell you why.
You can no longer say:
put yourFunction() into fld 1 --from the message box
So I see how absolutely cool a feature it is, saving enormous energy to only have to write
yourFunction()
and have it appear in msg, but what if I want to test the function and have the answer appear in a field? Oh, well then, just make a button and put a handler in its script. No problem. None at all.
(Or, er, am I overdoing this and there is in fact a way to do this from msg?)
Craig
-----Original Message-----
From: J. Landman Gay <jacque at hyperactivesw.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sat, Dec 21, 2013 4:42 pm
Subject: Re: Can't call functions from messagebox in 6.5.1
On 12/21/13 3:27 PM, Dr. Hawkins wrote:
> I've tried calling functions from the messagebox in 6.5.1, both from my
> mainstack and builtins, such as revDataFromQuery(), and get messages like:
>
> Message execution error:
> Error description: Function: error in function handler
> Hint: getVal
>
> This was never a problem with 5.5
Are you using "put getVal()" ? That was changed. Now you just type
"getVal()".
No idea why this was changed, maybe it's a feature.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list