Where is a stack running from in the IDE?...Solved
Posted: Sat May 06, 2017 5:17 am
I hope someone can explain this at a level I can understand (use small words and simple concepts please
) since I am not even sure I will communicate the question properly. What I am trying to find out is where a stack (? the thing with .livecode extension
) loaded in the IDE is running from? Is it running solely in memory? in a tmp folder? where the stack was loaded from? The question refers to using external files, however when running the program in the IDE I don't seem to be accessing the files in the folder with the stack.
If the question needs clarification, please feel free to say so and I'll try asking it differently. I just have had no luck finding out on my own, and it doesn't seem to work like other environments I am used to.
I think someone also mentioned (in a side conversation) that the file formats change between Lc revisions, if this is correct, is the safest way to work among multiple versions of Lc to 'save as' to the legacy format as the lowest common denominator? If so, are there any pitfalls I should be aware of? If I use 'save as' to get to the legacy format, will subsequently just saving it continue to save it in legacy format, or do you have to use 'save as' every time?
Also a bonus round question.
. I started writing a program, got fairly far along and didn't want to mess up what I had so far.
.. I opened a new stack and saved it as a testingProgram stack to experiment with code.
... I copied all the controls from the original program stacks card and pasted them into the new 'testing' stacks card, both cards are named the same.
.... I now find that code that worked in the original stack does not work any longer in the 'testing' stack.
The code itself is pretty generic, so I am assuming there is something going wrong in the copying of the controls or code itself process, does anyone know how I could check to find out what or any suggestions for things you might have come across that are similar in nature?
Answers to any or all of these questions will not result in a reward, but you will have my gratitude


If the question needs clarification, please feel free to say so and I'll try asking it differently. I just have had no luck finding out on my own, and it doesn't seem to work like other environments I am used to.
I think someone also mentioned (in a side conversation) that the file formats change between Lc revisions, if this is correct, is the safest way to work among multiple versions of Lc to 'save as' to the legacy format as the lowest common denominator? If so, are there any pitfalls I should be aware of? If I use 'save as' to get to the legacy format, will subsequently just saving it continue to save it in legacy format, or do you have to use 'save as' every time?
Also a bonus round question.
. I started writing a program, got fairly far along and didn't want to mess up what I had so far.
.. I opened a new stack and saved it as a testingProgram stack to experiment with code.
... I copied all the controls from the original program stacks card and pasted them into the new 'testing' stacks card, both cards are named the same.
.... I now find that code that worked in the original stack does not work any longer in the 'testing' stack.
The code itself is pretty generic, so I am assuming there is something going wrong in the copying of the controls or code itself process, does anyone know how I could check to find out what or any suggestions for things you might have come across that are similar in nature?
Answers to any or all of these questions will not result in a reward, but you will have my gratitude
