Can't save stack issue

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

CAsba
Posts: 364
Joined: Fri Sep 30, 2022 12:11 pm

Re: Can't save stack issue

Post by CAsba » Wed Dec 13, 2023 3:54 pm

Hi,
WAS functional, no longer working - it appears to save, but on opening the file the unsaved version runs !

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Can't save stack issue

Post by dunbarx » Wed Dec 13, 2023 4:20 pm

CAsba.

I am confused. Are you saying that a stack is having this problem in the IDE? That if you modify that stack and save, the changes are not saved at all? And that the only way to save those changes is to "Save as" to a new stack file?

Here is something. If you "Save as..." you are creating a new stack file. I assume (hope) you are renaming that stack file. But know that the stack itself will have the same name unless you change that as well. Have you been changing both?

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9670
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Can't save stack issue

Post by dunbarx » Wed Dec 13, 2023 4:44 pm

CAsba.

In other words, there are two separate "things" we must deal with. First is the stack file, which is a file on your computer. The "stack" is the LiveCode object that you actually work on, adding buttons, changing colors and saving now and then.

But if you "Save as..." you are only creating a new stack file with the very same stack as its "child". It will be an exact copy of whatever you had when you did that.

Does this help?

Craig

Post Reply

Return to “Talking LiveCode”