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
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to