Message Box Functions broke in 6.1.3?

Phil Jimmieson phil at liverpool.ac.uk
Wed Nov 20 09:51:46 EST 2013


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.








More information about the use-livecode mailing list