Page 1 of 1

What is wrong with Livecodes understanding of File names?

Posted: Wed Oct 16, 2013 12:56 pm
by chris25
Screen shot 2013-10-16 at 12.52.42.png
This sort of thing is happening too much. A file name only needs just an extra character in order to make it different from the original. So why does livecode present me with these messages despite making the file name always different from the original? The thing is It Is Not The Same is it?

Chris

Re: What is wrong with Livecodes understanding of File names

Posted: Wed Oct 16, 2013 1:46 pm
by dave.kilroy
Hi Chris

A stack name is not the same as the stack's file name. The IDE is complaining it already has a stack with the same name (even though the file names are different). There are various ways forward for you but one is to simply change the stack's name (in the inspector).

Dave

Re: What is wrong with Livecodes understanding of File names

Posted: Wed Oct 16, 2013 1:47 pm
by FourthWorld
It's not the file name, it's the stack name. LC is able to allow references to stacks by their short name by requiring that each open stack have a unique name.

Do you need the one in your temp directory? What are you aiming to do?

Re: What is wrong with Livecodes understanding of File names

Posted: Wed Oct 16, 2013 1:50 pm
by dave.kilroy
Of course the other option for you is to close and re-open LiveCode - and then because neither of your stacks with the same name will be in memory you can open whichever one you wish without conflicts...

Re: What is wrong with Livecodes understanding of File names

Posted: Wed Oct 16, 2013 4:43 pm
by chris25
Thankyou gentlemen, I understand it now. Thanks Dave. FouthWorld, When I go back after a little while to re-do the same exercise (so as to cement the learning) I just want my original (in case I forget something) to be alongside the newly opened identical stack as I work on it.