PickFirst (open)
Pick the first element of an array
Syntax
// Core function, no LOADLIB necessary
VARIANT FUNCTION PickFirst(VARIANT arr)
Parameters
VARIANT arr
Array to grab an alement of, may not be a VARIANT ARRAY
Return value
VARIANT
The first element of the array, or the default value of the array's type if the array is empty