Deleting an Array Entry

Alex Tweedly alex at tweedly.net
Wed Oct 26 10:06:00 EDT 2005


David Burgun wrote:

> Hi All,
>
> How do I delete an item from an array?
>
> Given that I have:
>
> "Key1","Data1"
> "Key2","Data2"
> "Key3","Data3"
>
> in myArray, how do I delete "Key2", to give:
>
You say
  delete variable myArray["Key2"]

See the "delete variable" entry in the docs

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005




More information about the use-livecode mailing list