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: [EMAIL PROTECTED]/
----------------------------------------------------------------


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to