Script Only Stack Properties

Bob Sneidar bobsneidar at
Sat Apr 4 13:27:21 EDT 2020

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 at<mailto:use-livecode at>> 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 | jacque at<mailto:jacque at>
HyperActive Software |<>

More information about the use-livecode mailing list