Scriptlimits Barrier

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Nov 15 09:14:46 EST 2007


Hi Bridger,

You can't set scripts (longer than 10 lines?) in a standalone. Why  
don't you use a stack to store the objects and copy these objects  
from the stack into the standalone when needed?

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Op 15-nov-2007, om 6:59 heeft Bridger Maxwell het volgende geschreven:

> Hello,
>   I am writing an app in which I would like to save objects to a  
> file, and
> restore them later.  I am able to store all of their properties as  
> XML and
> restore the object fine in the IDE, but the scriptlimits poses a  
> problem.
> Because many of these objects need script to be restored, it is  
> impossible
> to recreate them in a standalone without hitting the scriptlimits  
> barrier.
> Is there an alternative way around this?  Does the scriptlimits  
> apply when
> you use the copy command?  Perhaps I should use a frontscript that  
> acts as
> the script for different types of objects.  Neither of these  
> workarounds
> sounds particularly clean to me though.  If anyone has any  
> experience with
> this kind of problem I would love to hear your thoughts.
>
>
>   Thank You,
>      Bridger Maxwell
>



More information about the Use-livecode mailing list