Command Reference : Function Reference : Function Reference: F
  
 
@first
The first non-missing value in the data object.
Syntax: @first(m)
m: numeric or alphanumeric object
Return: number or string
Returns scalar containing the first non-missing values of the single column data object. The series and alpha versions use the current workfile sample.
Examples
Let V be a vector of length 4 whose elements are NA, NA, 4.2, and 1.7. Then
= @first(v)
returns 4.2.
Cross-references
See also @cfirst, @clast, @cifirst, and @cilast.
See also @last, @ifirst, and @ilast.