Can't call functions from messagebox in 6.5.1

J. Landman Gay jacque at hyperactivesw.com
Sat Dec 21 20:31:08 EST 2013


On 12/21/13 5:24 PM, dunbarx at aol.com wrote:

> You can no longer  say:
>
> put yourFunction() into fld 1 --from the message box

Depending on the function, you can sometimes do that from the multi-line 
message box. That one parses commands differently than the single line one.

I tried this function:

function putTime
  return the time
end putTime

In the multi-line msg I get an error, because the msg box doesn't parse 
"7:20 PM" properly. But if I change the function to return simply 
"hello" then it works.

So, sort of a workaround. Sometimes, maybe.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the Use-livecode mailing list