Page 1 of 1

an unnamed object cannot be converted to a string" error

Posted: Mon Oct 06, 2014 7:32 am
by burabura
hi
I'm using eviews 8
I have an undated wfile
I have
a vector, say V
and
a series, say S
I want to put in any n-th position of the vector the value contained in a m-th position of the series
for instance
V(3) = @elem(S,7) works fine in a dated wfile but in the undated one I get a
"an unnamed object cannot be converted to a string" error.

why this error?
If I write
show @elem(S,7) I get a window with the correct value.
what can I do ?

thank you in advance

Re: an unnamed object cannot be converted to a string" error

Posted: Mon Oct 06, 2014 8:15 am
by EViews Gareth
@elem(s, "7")

Re: an unnamed object cannot be converted to a string" error

Posted: Mon Oct 06, 2014 8:49 am
by burabura
thank you
it works
....so easy :oops: