@ilast is not a Genr or series expression function
Posted: Wed May 04, 2016 3:17 am
Hi,
I want to fill a vector with number of the last observation of timeseries
I'm doing :
But I got the error :"@ILAST is not a Genr or series expression function."
Doing :
Is working like a charm but I'm wondering why I get the error mentioned above since @ilast returns a scalar which is what is expected as an argument by fill.
I want to fill a vector with number of the last observation of timeseries
I'm doing :
Code: Select all
vector(2) myVector
myVector.fill @ilast(myTs1), @ilast(myTs2)
Doing :
Code: Select all
vector(2) myVector
!nb1 = @ilast(myTs1)
!nb2 = @ilast(myTs2)
myVector.fill !nb1, !nb2