The file should be as the one I attach, but letting the user to write in the first line whatever he/she wants.
The values would be taken from a series, and the numbers within the brackets are the index.
Thank you in advance
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
k /1*30/;
NUMBER Temp(k);
Code: Select all
'%path = @runpath
'cd %path
wfopen miwf.wf1
series aa
for !a=1 to 30
aa(!a)=!a
next
alpha bb = @str(aa)
alpha cc = @str(temp)
frml trial2 = "Pre('"+ bb+"') = "+cc+";"
series match = @trend+3
!numobs = @obsrange+2
pagecreate(page=temp) u !numobs
series match = @trend+1
copy untitled\trial2 temp\trial2 @src match @dest match
smpl 1 1
trial2 = "k /1*30/;"
smpl 2 2
trial2 = "Number Temp(k)"
smpl @all
save(type=text) "temp1.txt" nonames @keep trial2
Users browsing this forum: No registered users and 2 guests