SelectOneFromList

Description:

script:SelectOneFromList(index,v1,v2,v3....)

Returns one value from a list of values. The index is one based. Typically used in combination with "MinIndex" and "MaxIndex".

Example:

script:SelectOneFromList(1,\q1.a,\q2.a)

Result:

Returns the value from Q1.