Adams Basic Package
>
Adams View
>
View Function Builder
>
Design-Time Functions
>
Functions: F - L
> FIRST
FIRST
Returns the first element in an array if an element exists; otherwise, returns a 0.
Format
FIRST (A)
Argument
A
An array.
Examples
The following examples illustrate the use of the FIRST function:
Function
FIRST ({})
Result
0.0
Function
FIRST ({1,2,3})
Result
1
Learn more about matrix/array functions
.
This site works best with JavaScript enabled