Page 1 of 1

saving all equations as tables in a workfile

Posted: Thu Apr 29, 2021 6:27 pm
by adarshad
is there any command to save all equations as tables in a workfile with the same name as equation

Re: saving all equations as tables in a workfile

Posted: Thu Apr 29, 2021 7:51 pm
by EViews Gareth
A combination of @wlookup, a for loop and

Code: Select all

freeze(tabname) eqname.results

Re: saving all equations as tables in a workfile

Posted: Fri Apr 30, 2021 9:09 am
by adarshad

Code: Select all

%eqlist=@wlookup("*","equation") 'make a list of all equations in workfile
for !i=1 to @wcount(%eqlist) 'cycle through the list one at a time
freeze(tabname) eq{!i}ardl_a.results 
!rowcounter = !rowcounter+1
next


what is tabnamehere..my workfile is ARDL&

Re: saving all equations as tables in a workfile

Posted: Fri Apr 30, 2021 10:21 am
by EViews Gareth

Re: saving all equations as tables in a workfile

Posted: Sun May 02, 2021 12:48 pm
by adarshad

Code: Select all

!rowcounter =1
%eqlist=@wlookup("*","equation") 'make a list of all equations in workfile
for !i=1 to @wcount(%eqlist) 'cycle through the list one at a time
freeze(table{!i}ardl_a) eq{!i}ardl_a.results 
!rowcounter = !rowcounter+1
next


I used this program to store my equations
IS THERE ANYWAY THAT WE CAN COPY ALL TABLES TO WORD DIRECTLY FROM A WORKFILE

Re: saving all equations as tables in a workfile

Posted: Sun May 02, 2021 5:25 pm
by startz
You might try saving the tables in a spool and then saving the spool in .rtf format.

Re: saving all equations as tables in a workfile

Posted: Mon May 03, 2021 7:33 am
by adarshad
ANY EXAMPLE WILL BE HIGHLY HELPFUL

Re: saving all equations as tables in a workfile

Posted: Mon May 03, 2021 12:09 pm
by adarshad
thankyou it helped me alot;;its easier instead of copying one by one