Hi
Sometimes, it would be convenient to split long equations into parts using string variables.
For example, how can one make a string variable (hstring) so that atest2 would equal atest 1 in the program:
string hstring = "log(l{%k})"
for %k 15
equation atest1.ls log(h{%k}) log(l{%k})
equation atest2.ls log(h{%k}) {hstring}
next
It seems that Eviews is not recognising the loop string %k when it is a part of another string variable.
Sincerely
Thomas von Brasch
String variables in loop....?
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: String variables in loop....?
You can't do a double reference like that.
Who is online
Users browsing this forum: No registered users and 2 guests
