I know the dictionary says to "copy this card to stack "whatever""", but I can not get that to work. I also tried using the card ID and the Stack ID along with other explicit naming of the card and the target stack.
I tried using the project manager to move it, but no joy. I went back to LC8 trying to find something that would work.
Are there caveats on the copy card operation that are not listing in the dictionary entry?
I had a large stack that has been regularly corrupting on a save and I am trying to rebuild a new stack with bits of the old one until I find where the corrupting code is located.
Any suggestions would be appreciated ..
David Kesler
Copy a card from one stack into a different stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Copy a card from one stack into a different stack
I found my error. If a stack is password protected and locked it won't allow a card to copied out of it.
Duh, that makes sense!
It would be nice if there was a note in the Dictionary that reminds us of that, or an error on the copy operation that warns that a password protected stack will not allow cards to be copied out of them.
Duh, that makes sense!
It would be nice if there was a note in the Dictionary that reminds us of that, or an error on the copy operation that warns that a password protected stack will not allow cards to be copied out of them.
Re: Copy a card from one stack into a different stack
Hi, one approach that helps debugging when you get an error like this, is to check "the result" after the problematic statement. You often get a good clue, and often in real language (not just opaque codes). I don't know if that would have been useful in your situation, but maybe.
-
- VIP Livecode Opensource Backer
- Posts: 9731
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Copy a card from one stack into a different stack
What Sparkout said.
A good result is an empty result.
Craig
A good result is an empty result.
Craig