list class : SetAt(int,class) method
Description
Sets the element at the specified index.
Syntax
listInstance.SetAt(int index, someClass element)
Arguments
Class | Name | Description |
int | index | Index to set. |
someClass | element | Element to be set. |
Return value
None
Sample code
//anyList is a instance of list{string} type.
anyList.SetAt(5, "ww");
Notes
The index is 0-based.