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