Page 1 of 1

Any command to clear the Eview's memory?

Posted: Thu May 28, 2009 6:36 am
by renjinlu
Hi, folks,

Coming back for knowledge again. Is there any command to clear the Eview's memory and let it forget everything (like "NEW" in GAUSS)?

If there is one, I can put at the top of the program and rerun the program again and again when testing it.

My current problem is: I used scenario.exclude to exclude some series from simulation at the last stage, but I do not want to exclude the series in earlier stages of the program. If I start the program afresh, it is fine. But to rerun it, the exclude options got carried into the "top" of the problem and everything get messed up.

If there is no such command, could you let me know how to "unexclude" the series please?

Thanks!

Re: Any command to clear the Eview's memory?

Posted: Thu May 28, 2009 8:01 am
by EViews Gareth
That's a somewhat nonsensical question.

When you run a program, everything that is program specific (i.e. program variables, subroutines etc...) are all cleared from memory as soon as the program exits.

Everything that is workfile specific remains in memory until you close the workfile.

Re: Any command to clear the Eview's memory?

Posted: Thu May 28, 2009 8:27 am
by renjinlu
Not really.

Sometimes you want to rerun the program without exiting it. But thanks for telling me that such a command does not exist.

Re: Any command to clear the Eview's memory?

Posted: Thu May 28, 2009 8:33 am
by EViews Gareth
By "exit" I meant "finishes running". As soon as a program has finished running, every program variable is cleared. If you run that program again straight away, any program variables used in the previous run will be completely re-initialised, and will retain no information from the previous run.

Since EViews is not a procedural programming language, a "clear" doesn't make sense.

Perhaps the best thing for you to do is to re-open the workfile at the top of your program. Then you will be getting a fresh slate, as it were.