Code: Select all
put specialFolderPath("Resources") & "/dataStack.livecode" into sourceFile put storagePath into destinationFolder revCopyFile sourceFile, destinationFolder
just as I expect. But the odd part is that a second dataStack is created at
It wasn't there before I open the app and I have not idea how it got there nor how to reference it. When I go to store data in the stack at storagePath/dataStack.livecode, I expect it to go into the Application Support area. Instead it gets stored in the Applications area. When the stack opens the second time, it can't find the data because it looks in storagePath/dataStack.livecode for the data but it never got stored there ... even though that is where I always direct the data to.
I'm confused as to why one command - revCopyFile sourceFile, destinationFolder[/code] - is creating the two stacks in different locations? and why it never saves it to Application Support?