public boolean deleteReference(anvil.script.Context context, Any index)
{
try {
Name name = _name;
if (index.isRange()) {
AnyRange r = index.toRange();
int size = _name.size();
Any a = r.getLeft();
int start = a.isDefined() ? a.toInt() : 0;
a = r.getRight();
int end = a.isDefined() ? a.toInt() : size;
long l = ArrayUtils.adjust2(start, end, size);
start = (int)(l & 0xffffffff);
int length = (int)(l >> 32);
while(length-- > 0) {