Page 1 of 1

_ character

Posted: Wed Feb 09, 2011 5:45 pm
by javiersan
Hi,

I am trying to rename series x as _. When I write "rename x _" eviews seems to wait for additional information as if the _ was for continuing the command in an additional line. This didn't happen before the latest patch, how can I disable it?

Thanks,

Javier

Re: _ character

Posted: Fri Feb 11, 2011 9:42 am
by EViews Gareth
This seems to work for me:

Code: Select all

create u 100 series x1=nrnd rename x1 _

Re: _ character

Posted: Fri Feb 11, 2011 10:11 am
by javiersan
It seems to work in the program but not in the command editor.

Thanks,

Javier

Re: _ character

Posted: Fri Feb 11, 2011 10:16 am
by EViews Gareth
We'll look into it.

Re: _ character

Posted: Fri Feb 11, 2011 11:19 am
by EViews Gareth
I don't think we can do much about this due to the line continuation feature. There is a work-around:

Code: Select all

string tmp = "_" rename z1 {tmp} d tmp
Turns out my program was a bit of a red-herring. If you have lines of code after the rename, it also won't work. You can also get around that via:

Code: Select all

%tmp= "_" rename z1 {%tmp}
Not the most attractive work around...