Does anyone know what is the problem in this program. They should be something with: _this.@varlist command.
'the program
smpl @all
if @isobject("eq1") then
show eq1
close eq1
%coefnames = _this.@varlist
%varyingcoefs = %coefnames
'There is something wrong
endif
!result =@uidialog("caption","Window for eq1","edit", %varyingcoefs, "Type the reggresion (OLS)",1024)
equation eq1
eq1.ls {%varyingcoefs}
Variables of equation and _this.@varlist
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Variables of equation and _this.@varlist
- Attachments
-
- dat_x1_day.wf1
- (19.73 KiB) Downloaded 267 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Variables of equation and _this.@varlist
Your program seems a bit muddled. Try this:
Code: Select all
smpl @all
if @isobject("eq1") then
%coefnames = eq1.@varlist
%varyingcoefs = %coefnames
endif
!result =@uidialog("caption","Window for eq1","edit", %varyingcoefs, "Type the reggresion (OLS)",1024)
Re: Variables of equation and _this.@varlist
OK. Now this part of program works perfect.
Thank you Gareth.
Thank you Gareth.
Who is online
Users browsing this forum: No registered users and 1 guest
