Page 1 of 1

Deleting Value Maps

Posted: Fri Jan 23, 2009 3:36 am
by Lama
Dear all,

once again I'm stuck.

I want to delete the value maps of all series in my work file. (I recoded at least some of my variables so the value maps don't make any sense anymore.)

Based on a program you showed me I "worked" out the following:

group allvars *
allvars.drop resid

for !i=1 to allvars.count
allvars.@seriesname(!i).map
next


which actually didn't worked out..(While it does SOMETHING it doesn't fulfill the intended task) :-(


Gratefully yours

Lama

Re: Deleting Value Maps

Posted: Fri Jan 23, 2009 9:09 am
by EViews Gareth
Change your inner loop to:

allvars(!i).map

Re: Deleting Value Maps

Posted: Thu Feb 26, 2009 9:57 am
by Lama
Hi Garet,

thanks for your suggestion. I substituted the term, but now EVIEWS returns:

Syntax Error in "ALLVARS(1).MAP"

???

Best regards

Lama

Re: Deleting Value Maps

Posted: Thu Feb 26, 2009 10:17 am
by EViews Gareth
ok, try:

for !i=1 to allvars.count
%name = allvars.@seriesname(!i)
{%name}.map
next