What is mistake in following program code
for !i=1 to g_f.@count
%1=g_f.@seriesname(!i)
%2=@mid(%1,3)
link {%2}
{%2}.linkto data\f_{%2}
g_mod.add {%2}
next
Eviews Pogram
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Posts: 3
- Joined: Sat Feb 27, 2021 9:16 am
Re: Eviews Pogram
Wen I run the following code
for !i=1 to g_f.@count
%1=g_f.@seriesname(!i)
%2=@mid(%1,3)
link {%2}
{%2}.linkto data\f_{%2}
g_mod.add {%2}
next
I receive the following response
Syntax error in control statement in "FOR !I=1 TO G_F@COUNT" on
line 20.
What is issue here and How I can solve
for !i=1 to g_f.@count
%1=g_f.@seriesname(!i)
%2=@mid(%1,3)
link {%2}
{%2}.linkto data\f_{%2}
g_mod.add {%2}
next
I receive the following response
Syntax error in control statement in "FOR !I=1 TO G_F@COUNT" on
line 20.
What is issue here and How I can solve
-
- EViews Developer
- Posts: 563
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Eviews Pogram
Hello,
I notice that the error message "FOR !I=1 TO G_F@COUNT" is missing the period in "g_f.@count". Are you sure that the program you're running includes that period like the samples you've shown us?
I notice that the error message "FOR !I=1 TO G_F@COUNT" is missing the period in "g_f.@count". Are you sure that the program you're running includes that period like the samples you've shown us?
Who is online
Users browsing this forum: No registered users and 29 guests