an unnamed object cannot be converted to a string" error

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

burabura
Posts: 6
Joined: Mon Nov 03, 2008 2:23 am

an unnamed object cannot be converted to a string" error

Postby burabura » Mon Oct 06, 2014 7:32 am

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

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

Postby EViews Gareth » Mon Oct 06, 2014 8:15 am

@elem(s, "7")

burabura
Posts: 6
Joined: Mon Nov 03, 2008 2:23 am

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

Postby burabura » Mon Oct 06, 2014 8:49 am

thank you
it works
....so easy :oops:


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests