Problem deleting element of array

Timothy Bleiler bleiler at buffalo.edu
Thu Oct 17 14:39:22 EDT 2013


I have a script that deletes an element from an array.

Delete variable MyArray [ "MyElement" ]

Instead of deleting just "MyElement", "MyArray" is being set to empty.

I can not duplicate the problem in any other script. The problematic line behaves correctly in other simple scripts. Is there some setting that I'm missing that could cause this? If not is there any way to get the "bad" script to behave properly?


Thanks,
Tim Bleiler, Ph.D.
Instructional Designer, HSIT
University at Buffalo





More information about the Use-livecode mailing list