How do you change the value of a List() element?
The help documentation is clear about how to add and delete (remove) an element from a List(). But, unless I'm missing something, there's no explanation on how to change the value of an element in a List() using an index.
Example:
myList = List({"Larry", "Mo", "Curly"});
myList(2) = "Shemp"; <-- this is what I want to do, change the element with index=2 (the third element) to "Shemp"
...now the list should contain "Larry", "Mo", and "Shemp"
or, something like: myList(2).set("Shemp"); <-- would be the logical counterpart to <list>.get(index)
But, those methods don't work. So, how does one change a specifically indexed element in a list?
Thank you.
Greg Malone
Santa Fe, New Mexico, US