Changing array key text
brian at milby7.com
Mon Jun 24 15:37:57 EDT 2019
I’m pretty sure the PI deletes the old key and creates a new key with the existing value.
On Jun 24, 2019, 3:23 PM -0400, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com>, wrote:
> I have a multi-dimensional array and sometimes I need to change the text
> of one of the array keys without destroying the rest of the array.
> Putting a different value into a key removes all the subkeys under it,
> so I wonder if there's a way to update the text of a key without
> re-creating the entire array again.
> The property inspector lets you do this when you change the name of an
> array key. Is there a quick trick for that?
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode