actually the first form you used: > on mouseUp > put 100 into myArray["firstElement"] > put 200 into myArray["secondElement"] > delete myArray["firstElement"] > put the keys of myArray > end mouseUp will delete the whole variable, not just the entry you want.. use "delete variable myArray["firstElement"] will delete just the entry you want..