select: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:
'''Description:'''
'''Description:'''


If '''index''' is false, select first element of '''array''', if it is true select the second '''index'''.
If '''index''' is false, this selects the first element of the '''array''', if it is true, it selects the second '''index'''.

Revision as of 19:39, 4 July 2006


array select index


Operand types:

array: Array

index: Boolean

Type of returned value:

Any Value

Description:

If index is false, this selects the first element of the array, if it is true, it selects the second index.