Hi,
I have a problem with the fill assignment. I would like to fill the variable "temp" with the value of the variable "brent" or the value of a scalar m. Neither of these variants of the code works:
Variant 1:
for !i = 2 to 10
scalar n=!i
temp.fill(o=n,l) @elem(brent,@otod(n)) ' with or without l
next
Variant 2:
for !i = 2 to 10
temp.fill(o=!i) @elem(brent,@otod(!i))
for !l = 1 to k
temp.fill(o= {!i}-1+{!l}) m ' where m is a scalar, same error message with or without { }
next
next
The error message always says "illegal date"
Can anybody help me?
Thanks a lot, Martina
fill assignment
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: fill assignment
You probably want to try something like:
%date = @otod(!i)
temp.fill(o=%date,l) @elem(brent,%date)
%date = @otod(!i)
temp.fill(o=%date,l) @elem(brent,%date)
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 34 guests