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