Message Box Functions broke in 6.1.3?

dunbarx at aol.com dunbarx at aol.com
Wed Nov 20 10:23:11 EST 2013


All.



Not sure I am getting this. When I first told Chipp it worked for me, I did change his script to:



function foo


return the ticks
end foo


and then wrote in msg: answer foo()


But if write "put the ticks" (still using "answer" in msg) I get the ticks in msg, and empty in the answer dialog. 


So it is just that you cannot "put" from msg, but can indeed"answer"?


Craig


Since -----Original Message-----
From: prothero <prothero at earthednet.org>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, Nov 20, 2013 10:06 am
Subject: Re: Message Box Functions broke in 6.1.3?


Thanks for the correction, Phil. Kinda an odd quirk, but it truly does work that 
way.
Bill

William Prothero
http://es.earthednet.org



On Nov 20, 2013, at 6:51 AM, Phil Jimmieson <phil at liverpool.ac.uk> wrote:

> At some point in Rev's development you could no longer invoke functions from 
the message box using "put functionName" - instead you can just type the name of 
the function.
> 
> i.e. if you have a handler in one of your scripts:
> 
> function MakeFilename
> ..
> ..
> end function
> 
> in the message box just type
> 
> MakeFilename()
> 
> and press return.
> 
> put MakeFilename() does not work.
> 
> 
> On 20 Nov 2013, at 14:07, Chipp Walters <chipp at chipp.com> wrote:
> 
>> I did this:
>> 
>> 1. Create a new stack
>> 2. put the following in the card script:
>> 
>> function foo
>> put the ticks
>> end foo
>> 
>> 3. Compiled it (Apply)
>> 4. Put in msg:
>> 
>> put foo()
>> 
>> and the result is:
>> 
>> Message execution error:
>> 
>> Error description: Handler: can't find handler
>> 
>> Hint: foo()
>> 
>> ???
>> _______________________________________________
>> 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
> 
> --
> Phil Jimmieson  phil at liverpool.ac.uk  (UK) 0151 795 4236  (Mobile) 07976 
983164
> Computer Science Dept., Liverpool University, Ashton Building, Ashton Street
> Liverpool L69 3BX              http://www.csc.liv.ac.uk/~phil/
> I used to sit on a special medical board... ...but now I use this ointment.
> 
> 
> 
> 
> 
> _______________________________________________
> 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


_______________________________________________
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