Command Reference : Matrix Language Reference
  
 
@ifirst
Syntax: @ifirst(o)
Argument: vector or series, o
Return: scalar
Returns a scalar containing the index of the first non-missing value of the series or vector. The series version uses the current workfile sample. Example:
scalar s1 = @ifirst(ser1)
See also @first, @cifirst.