Page 1 of 1

Using Replacement variables

Posted: Thu May 19, 2011 8:35 am
by niluki
Hi,

I have a problem in using replacement variables for the path in the run command.

If I run this piece of code, it gives out an error:
%dir = "C:/TestE_Views/testcode"
run {%dir}

but equivalently the following code runs fine
run "C:/TestE_Views/testcode"

What am I doing wrong?
Is there a workaround this?

Any help is greatly appreciated!
thank you!

Re: Using Replacement variables

Posted: Thu May 19, 2011 8:48 am
by EViews Gareth

Code: Select all

%dir = "c:/temp/test" run {%dir}
Works for me, and I ran it in EViews 7, EViews 6 and EViews 5.