Jacque wrote:
> could you provide an example where the embedded command would actually
> execute?

A variant of Mark's example which executes when passed to fooEvil but not when pass to fooGood:

on mouseUp
   put "into x "&quote&";answer GOTCHA &cr& word 1 of the params #" \
       into tUserInput
   fooGood tUserInput
   fooEvil tUserInput
end mouseUp

on fooGood pUserInput
   do "put pUserInput into x"
end fooGood

on fooEvil pUserInput
   do "put " &quote& pUserInput &quote&" into x"
end fooEvil


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to