Command Reference : Function Reference : Function Reference: L
  
 
@last
The last non-missing value in the data object.
Syntax: @last(o)
o: data object
Return: number or string
Returns a vector containing the last non-missing value of the single column data object. The series version uses the current workfile sample.
Examples
Let V be a vector of length 4 whose elements are 8.6, 0.3, NA, and NA. Then
= @last(v)
returns 0.3.
Cross-references
See also @cfirst, @clast, @cifirst, and @cilast.
See also @first, @ifirst, and @ilast.