VocabularysequencesInputselt | an object |
n | a non-negative integer |
seq | a mutable sequence |
OutputsNone
Generic word contractSets the
n th element of the sequence. Storing beyond the end of a resizable sequence such as a vector or string buffer grows the sequence.
ErrorsThrows an error if the index is negative, or if the sequence is not resizable and the index is greater than or equal to the length of the sequence.
Throws an error if the sequence cannot hold elements of the given type.
Side effectsModifies
seqDefinitionMethods