Variables of equation and _this.@varlist
Posted: Wed Sep 30, 2015 3:43 am
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}
'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}