Execution Error
Posted: Tue Oct 26, 2010 12:26 am
I was trying to slim down my stack, and as I had moved a group of objects over to another card, I deleted the original card. Yes, this was a mistake, because of course, I had forgotten I had things going to that card.
But, not to worry, I went to the blip in the script and rewrote the line to direct it to the same field on the new card.
Or so I thought. Now I get an execution error, and I can't figure out what the problem is:
The card "Teacher Card" is the card I deleted. I had moved all of the objects over to another card and put them in a group which I named "Students". I then renamed the new card "Teacher Card" to maintain the continuity. I did nothing to card "List Card", but I did check all the fields there to be sure that they were still named correctly. I checked the names of all the objects referenced in line 39 to be sure they were all correct and with no spelling errors or that no extra spaces had crept in. Before I moved the objects and deleted the original card "Teacher Card", everything worked smoothly. The only difference between previous set up is that field "Temporary List" is now part of a group, which it wasn't before.
So, what am I missing? I'm sure it is something simple, I've missed silly things before. I just need a second pair of eyes to look because at this point, the harder I look at everything, the more I think I am not seeing!
I have included the new card "Teacher Card". It isn't finished, and most of the fields and buttons don't do anything yet, but the field "Temporary List" is there. Perhaps I have a property set wrong? (I know a custom property would better serve for storing the temporary copy of the word list, but I want the teacher to be able to see it, so I have decided to leave it in a field.)
tied up in knots,
Bantymom
But, not to worry, I went to the blip in the script and rewrote the line to direct it to the same field on the new card.
Or so I thought. Now I get an execution error, and I can't figure out what the problem is:
Here are the pertinent lines of code, with both the old and new versions of line 39 at the bottom:stack " Spelling Game Tomas IV": execution error at line 39 (Chunk: no such object) near "List 2", char 4
Code: Select all
put "List" && the cLevel of this stack into tList
answer tList --just put this in to check to see if tList was the problem, and tList is showing up correctly in the message box
put empty into field "Temporary List" of group "Students" of card "Teacher Card" --no problems here, though it references the same location
put field tList of card "List Card" into field "Temporary List" of group "Students" of card "Teacher Card"
--put field tList of card "List Card" into field "Temporary List" of card "Teacher Card"
So, what am I missing? I'm sure it is something simple, I've missed silly things before. I just need a second pair of eyes to look because at this point, the harder I look at everything, the more I think I am not seeing!
I have included the new card "Teacher Card". It isn't finished, and most of the fields and buttons don't do anything yet, but the field "Temporary List" is there. Perhaps I have a property set wrong? (I know a custom property would better serve for storing the temporary copy of the word list, but I want the teacher to be able to see it, so I have decided to leave it in a field.)
tied up in knots,
Bantymom