Hey, is it possible to include sub-programs whose file name is defined as a string, such as %program? Thanks in advancde, Fabio
We are trying to work with:
%program = "" + %path + "/" + %filename + ""
include %program
Including %program
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Including %program
Unfortunately not.
The include statement is parsed by EViews before any other part of the program. Thus it is parsed before any string variables have been declared. Thus EViews won't recognise that string variable as being valid when it is parsing the include statement.
The include statement is parsed by EViews before any other part of the program. Thus it is parsed before any string variables have been declared. Thus EViews won't recognise that string variable as being valid when it is parsing the include statement.
Who is online
Users browsing this forum: No registered users and 2 guests
