Changes the value of element at an index.
Arguments: dat is the new data
false if index is out of bounds, true if successful
See Implementation
Changes the value of element at an index.
Arguments: dat is the new data