delete global myArray[17] -- removes 17th element of that array

Correct? Does it remove the 17th element, rather the element with the Key that is "17" ?

It deletes the key that is named "17". Try the following to check:

on mouseUp
  repeat with k = 1 to 20
     put "abc" into tArray[k * 2 + 1]
  end repeat

  delete variable tArray[17]
  put keys(tArray)
end mouseUp



Cheers
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to