destroyStack

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
AgentItay
Posts: 60
Joined: Mon Aug 24, 2015 8:54 pm

destroyStack

Post by AgentItay » Fri Oct 09, 2015 10:15 am

Hey, someone told me in the past to set the destroyStack options in the Preferences tab to: Close the file and destroyStack property is set to true for new stacks.
Do I need to do that for projects that I am going to publish on the web as an exe file as well (But I am going to publish their source code too since I am using the community edition)?
And just to make things clear, including the source code means including the .livecode file with my .exe file in the same .zip folder, right?
Thanks in advance.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10354
Joined: Wed May 06, 2009 2:28 pm

Re: destroyStack

Post by dunbarx » Fri Oct 09, 2015 2:12 pm

I always set the destroyStack property, since I often work with several copies of a stack and do not want to be bothered purging from memory any version I happen to have just closed when I open another. That is all it does, you know, purge it from memory.

Craig Newman

AgentItay
Posts: 60
Joined: Mon Aug 24, 2015 8:54 pm

Re: destroyStack

Post by AgentItay » Fri Oct 09, 2015 2:42 pm

Thanks Craig :D What about my source code question

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: destroyStack

Post by mwieder » Fri Oct 09, 2015 11:20 pm

I think you can just post a link to code on github or somewhere similar. You can certainly package the source code with the app, but as long as the end user can get to it I think that's ok.

Post Reply