Program Flow
Choose
Function | Parameters | Return value |
---|---|---|
Choose |
double index,``params object[] choice |
object |
Returns an element of the "choice" array with the index specified in the "index" parameter. The first array element has 1 index.
Example:
Choose(2, "one", "two", "three") = "two"