Hmmm… If that is the case then theoretically, on closeStack the new properties 
could be arrayEncoded and saved to disk, and then on openStack they could be 
read and then arrayDecoded and reset again.

Bob S


On Apr 4, 2020, at 10:20 AM, J. Landman Gay via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

When a script only stack is opened, LC creates a temporary stack and plops the 
script into it. At that point its just like any other library stack. You could 
add images, controls, other scripts, custom props, anything. The only 
difference is that when the stack closes, the text of the stack script is 
written back to the file and everything else is lost.

I suppose you could put custom properties at the top of the stack script inside 
a comment block, and set them up normally by script when the stack opens.

--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com>
HyperActive Software | 
http://www.hyperactivesw.com<http://www.hyperactivesw.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