Do merge

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed May 28 07:09:57 EDT 2008


Bonjour Thierry,

Does the following would work for you:

on mouseUp
   local tName, tFunc
   -----
   put "test" into tName
   put tName & "()" into tFunc
   do "put" && tFunc
end mouseUp

function test
   return "You win"
end test

Le 28 mai 08 à 12:52, Thierry a écrit :

> Hi all,
>
> Can't find a way to make the following works :-(
>
>
> --x is a string coming from outside
> -- want to transform "x" to  x()
> -- and execute it
>
> do  merge( "[[x]]()" )
>
> or
>
> get merge( "[[x]]()" )
> do it
>
>
> Any hints ?
>
> Regards,
> Thierry

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list