Include path

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

abielr
Posts: 9
Joined: Wed Feb 04, 2009 12:25 pm

Include path

Postby abielr » Tue May 05, 2009 9:27 am

Does EViews have any place where I can specify a path where EViews will automatically search for files included by the include statement. Or, is there any file I can edit that is automatically included by EViews each time it runs? I would like to be able to define a number of subroutines for use throughout my programs, and I do not want to always have to specify the full path to the routines.

Thank you.

Katjes
Posts: 56
Joined: Thu Oct 02, 2008 5:46 am

Re: Include path

Postby Katjes » Tue May 19, 2009 2:07 pm

Just define the full path in the beginning of your core program:
'%path="my documents\Project\Data\"

and everytime you need just go back to this, e.g:

WFOPEN(wf=data,page=quarterly) {%path}Eviews_data.xls


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 40 guests