Transition from R to Eviews programming has been a little painful, hope someone will help with the following question:
Code: Select all
string xd=deter(!i)
if %xd="trend" then
%xd="d"
else
%xd="b"
endifThank you.
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Code: Select all
string xd=deter(!i)
if %xd="trend" then
%xd="d"
else
%xd="b"
endifThanks Gareth, I corrected it, works flawlessly. I was following an example where "%" is used, just did not read the details properly.Well, XD and %XD are different things. It looks like you're assigning to XD, but testing %XD.
Users browsing this forum: No registered users and 1 guest