Monte Goulding wrote:

One solution I have used for this is chained behaviors:

on mouseUp
   put GetWord(fld “IN”,1) into fld “OUT”
end mouseUp

— parent behavior won’t compile in LC 6
function GetWord pText, pWord
   return trueword pWord of pText
end GetWord

— grandparent behavior
function GetWord pText, pWord
   return word pWord of pText
end GetWord

Clever solution, but wouldn't that throw an error when the uncompilable behavior is loaded?

I would be concerned if the engine ignores errors that prevent it from using a script.

--
 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