SelectFirstN

Description:

script:SelectFirstN(ListToPickFrom,IndexToPick,)

Typically used to select a codes from a multi-choice question

Parameters:

  • ListToPickFrom
    • Typically reference to a multiple-choice question
  • IndexToPick
    • One based index of code to pick

Example:

script:SelectFirstN(\BrandsKnown.a,1)

Result:

3 - if 3 is the first code selected in question \BrandsKnown