dynamic scripts at runtime

Richard Gaskin ambassador at fourthworld.com
Fri Jun 18 15:20:41 EDT 2004


RGould8 at aol.com wrote:

> I've got an app that needs to be able to generate fields dynamically when 
> compiled as a standalone application.   I also need to be able to assign scripts 
> to those newly created fields.   
> 
> The emails I've read make it sound like this is not possible, if the script 
> exceeds 10 commands (which mine does.)   What's the work-around?   My script is 
> stored in a text field on the card, and I was doing a 
> 
> set the script of field newFieldID to field "masterscript"

Why not put the "masterScript" script in the stack and have a much 
shorter script in the fields that call it?

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________
  Rev tools and more:  http://www.fourthworld.com/rev


More information about the use-livecode mailing list