addIndex

fun addIndex(idx: Int)

Add an index.