how to drop a program variable
Posted: Fri Aug 13, 2021 7:35 am
I had the following problem, when running programs in a sequence. Let's say that in the first file of the sequence I have:
and in the second file in my sequence I have the command
when Eviews gets to the second program, it substitutes !i with the next value from the previous loop, so that it becomes.
Is there a way to drop !i after it has been used in the loop?
Meanwhile, I solved the issue by changing !i to !linenumber in the first loop
Thank you
Code: Select all
for !i = 1 to 200
...
next
Code: Select all
import %myfile range=IMS1!I16:j198 ...Code: Select all
import %myfile range=IMS120116:j198 ...Meanwhile, I solved the issue by changing !i to !linenumber in the first loop
Thank you