Scott,

The easy way to do this might be to use a custom property instead of a function. Get the someProperty[pData1 & cr & pData2] of me. Perhaps someProperty[pData1][pData2] works too, I haven't tried that yet. Then again, why don't you simply put the function into a backscript?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to discuss your custom software project!

On 15 jan 2009, at 20:45, Scott Rossi wrote:

Hi List:

Just curious...  Is there any way to construct a function using a name
stored in a variable without resorting to "do"?  For example:

on mouseUp
  put "hello" into pData1
  put "world" into pData2
  put "shout" into test
  do "answer" && test & "(pData1,pData2)"
end mouseUp

function shout pData1,pData2
  return pData1 && pData2
end shout

Can the last line of the mouseUp handler be written without "do"? I'm not
against using "do", just wondering if there's another option.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design

_______________________________________________
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