Index of sVector
Posted: Fri Apr 11, 2014 4:42 am
Hi,
How to I get the index of a particular element of an svector:
Example of what this function could look like:
SVector(3) sVRows
sVRows(1) = "First"
sVRows(2) = "Second"
sVRows(3) = "Third"
!iK = sVRows.GetIndex("Second")
' !iK should be equal to 2
How to I get the index of a particular element of an svector:
Example of what this function could look like:
SVector(3) sVRows
sVRows(1) = "First"
sVRows(2) = "Second"
sVRows(3) = "Third"
!iK = sVRows.GetIndex("Second")
' !iK should be equal to 2